BUG: sleeping function called from invalid context
Holger Schurig
hs4233 at mail.mn-solutions.de
Tue May 6 05:22:21 EDT 2008
> What I don't know is why something is calling
> get_wireless_stats() when setting the essid. This happens way
> before a call into lbs_set_essid() (the WEXT handler), as can
> be seen from the log below.
Okay, that question has now an answer: an strace of iwconfig
(wireless-tools 29~pre22-1~bpo40+1) does
open /proc/net/wireless, which in turn calls
lbs_get_wireless_stats().
This happens before the SIOCSIWESSID ioctl().
More information about the libertas-dev
mailing list