6 Apr 2006 15:36
revision 1497 committed by kelmo
kelmo <svn-commits <at> madwifi.org>
2006-04-06 13:36:09 GMT
2006-04-06 13:36:09 GMT
Project : madwifi Revision : 1497 Author : kelmo Date : 2006-04-06 15:36:03 +0200 (Thu, 06 Apr 2006) Log Message : Change the ARP type of wifiX interfaces to ARPHRD_IEEE80211. This is to signal that the wifiX device is not a usable ethernet device. Signed-off-by: Elias Oltmanns <oltmanns <at> uni-bonn.de> Signed-off-by: Kel Modderman <kelrin <at> tpg.com.au> Affected Files: * trunk/ath/if_ath_pci.c updated Modified: trunk/ath/if_ath_pci.c =================================================================== --- trunk/ath/if_ath_pci.c 2006-04-06 04:16:40 UTC (rev 1496) +++ trunk/ath/if_ath_pci.c 2006-04-06 13:36:03 UTC (rev 1497) <at> <at> -185,6 +185,10 <at> <at> dev->irq = pdev->irq; dev->mem_start = mem; dev->mem_end = mem + pci_resource_len(pdev, 0); + /* + * Don't leave arp type as ARPHRD_ETHER as this is no eth device + */ + dev->type = ARPHRD_IEEE80211; SET_MODULE_OWNER(dev); SET_NETDEV_DEV(dev, &pdev->dev); ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
RSS Feed