[PATCH] change detection of wireless

Danny Kukawka danny.kukawka at web.de
Tue Sep 5 12:57:09 PDT 2006


Hi,

this patch change the detection of wireless network devices. The currently 
used proc file is/become IIRC deprecated. I change the detection to check 
for /sys/class/net/*/wireless (which was already in the code but commented 
out).

I added also some code to add some keys to IrDA net devices and to avoid 
adding ARPHRD_IEEE80211 (IEEE 802.11 headers), ARPHRD_IEEE80211_PRISM and  
ARPHRD_IEEE80211_RADIOTAP devices which are IMO useless and shouldn't be 
visible for the user.

Danny

 classdev.c |   54 +++++++++++++++------------------------------------
 1 file changed, 16 insertions(+), 38 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-net_wireless_irda.diff
Type: text/x-diff
Size: 2665 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060905/ccb04e57/hal-fix-net_wireless_irda.bin


More information about the hal mailing list