Simon Wunderlich e487eaeb07 cfg80211/mac80211/ath6kl: acquire wdev lock outside ch_switch_notify
The channel switch notification should be sent under the
wdev/sdata-lock, preferably in the same moment as the channel change
happens, to avoid races by other callers (e.g. start/stop_ap).
This also adds the previously missing sdata_lock protection in
csa_finalize_work.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-12-02 11:51:54 +01:00
..
2013-03-18 13:37:46 +02:00
2012-03-26 16:36:46 +03:00
2013-03-18 13:42:21 +02:00
2012-03-26 16:36:46 +03:00
2012-03-26 16:36:46 +03:00
2013-08-07 10:53:36 +03:00
2013-03-18 13:37:46 +02:00
2013-08-12 14:11:37 +02:00
2013-08-12 14:11:37 +02:00
2013-03-20 08:55:26 -04:00