Created attachment 16654 [details] [review] patch to use ioctl The canonical way to check whether a network interface has wireless extensions is to try calling the SIOCGIWNAME ioctl on it. The attached patches does that for hal. Since the patch depends on the one in bug 15986, I'm marking this one as depending it.
Created attachment 16676 [details] [review] patch to use wext ioctl instead of sysfs The other patch had inverted arguments in strncpy(), this fixes it.
Created attachment 16696 [details] [review] updated to hal 0.5.11 You probably want this version against hal 0.5.11; your has phy8011 bits in it which are actually wiphy in the latest hal git. I'm assumig the phy80211 code is older?
Au contraire! This depends on the patch I posted in bug 15986 which changes hal (from git) to use phy80211 which is the correct path.
Patch works for me.
commit 41073645ea95e0bb478d6b26871a1bc4ccf832d1 Author: Johannes Berg <johannes@sipsolutions.net> Date: Fri May 23 17:31:51 2008 +0200 use wext ioctl instead of sysfs to detect wireless The canonical way to check whether a network interface has wireless extensions is to try calling the SIOCGIWNAME ioctl on it.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.