mac80211: fix sdata->radar_required locking
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 29 Jan 2014 06:56:20 +0000 (07:56 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:58:10 +0000 (21:58 +0100)
commitcc901de1bcb0372583466075bfa62e3049dc6288
treeae12805ea7a7e39e55e811fcc15c9b12a68fe078
parentc46a73f39642db4931544a9376338d05aa196df8
mac80211: fix sdata->radar_required locking

radar_required setting wasn't protected by
local->mtx in some places. This should prevent
from scanning/radar detection/roc colliding.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/ibss.c