From: Simon Wunderlich Date: Thu, 21 Nov 2013 17:19:51 +0000 (+0100) Subject: cfg80211/mac80211/ath6kl: acquire wdev lock outside ch_switch_notify X-Git-Tag: v3.14-rc1~94^2~334^2^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e487eaeb076a44c69dc61348cbc903151bb8fcbd;p=pandora-kernel.git 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 Signed-off-by: Simon Wunderlich Signed-off-by: Johannes Berg --- Reading git-diff-tree failed