Karl Relton
2009-02-09 21:00:02 UTC
Greg/Solomon
The version of prism2_usb in the Linux kernel 2.6.28 and onwards (in
drivers/staging/wlan-ng) does not seem to have the call to
p80211_allow_ioctls.
This function was added to the linux-wlan-ng version of the driver back
in March 2008 (see
http://lists.linux-wlan.com/pipermail/linux-wlan-devel/2008-March/003819.html) and was needed to prevent a race between scripts launched by udev (as a result of the SET_NETDEV_DEV call) and the card being properly declared ready (by the prism2sta_ifstate call at line 141 of the new prism2usb.c).
Was this deliberately taken out? I would imagine we still need it, since
I would still expect to do some work in userland triggered off udev as
the card is coming up.
Regards
Karl
The version of prism2_usb in the Linux kernel 2.6.28 and onwards (in
drivers/staging/wlan-ng) does not seem to have the call to
p80211_allow_ioctls.
This function was added to the linux-wlan-ng version of the driver back
in March 2008 (see
http://lists.linux-wlan.com/pipermail/linux-wlan-devel/2008-March/003819.html) and was needed to prevent a race between scripts launched by udev (as a result of the SET_NETDEV_DEV call) and the card being properly declared ready (by the prism2sta_ifstate call at line 141 of the new prism2usb.c).
Was this deliberately taken out? I would imagine we still need it, since
I would still expect to do some work in userland triggered off udev as
the card is coming up.
Regards
Karl