[PATCH] change detection of wireless

David Zeuthen david at fubar.dk
Thu Sep 7 09:47:54 PDT 2006


On Tue, 2006-09-05 at 21:57 +0200, Danny Kukawka wrote:
> 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).

Yea, I kept bouncing back and forth between looking at /proc and
wireless/ for years because some drivers supported the former but not
the latter. I think they're all mostly good now.

> 
> 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.

Looks good if you patch the spec to define what net.irda is. As for
dropping the so-called "useless" devices we can always add new
capabilities if NetworkManager or someone else needs to have this in
HAL.

Thanks. Please commit.

     David




More information about the hal mailing list