Files
linux/net
Johannes Berg 51f98f1313 mac80211: fix ibss race
When a scan completes, we call ieee80211_sta_find_ibss(),
which is also called from other places. When the scan was
done in software, there's no problem as both run from the
single-threaded mac80211 workqueue and are thus serialised
against each other, but with hardware scan the completion
can be in a different context and race against callers of
this function from the workqueue (e.g. due to beacon RX).
So instead of calling ieee80211_sta_find_ibss() directly,
just arm the timer and have it fire, scheduling the work,
which will invoke ieee80211_sta_find_ibss() (if that is
appropriate in the current state).

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-10-12 15:55:52 -04:00
..
2009-09-23 22:26:32 +09:30
2009-05-25 01:53:53 -07:00
2009-10-05 02:22:23 -07:00
2009-09-26 20:16:15 -07:00
2009-05-25 01:53:53 -07:00
2009-10-07 03:18:17 -07:00
2009-09-02 01:03:53 -07:00
2009-10-12 15:55:52 -04:00
2009-09-30 16:41:34 -07:00
2009-08-04 16:44:23 -04:00
2009-10-08 01:21:46 -07:00
2009-09-24 15:39:14 -07:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00