]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bc23f2816f9e065e7a7f001b056e447a178f97e
treeae12805ea7a7e39e55e811fcc15c9b12a68fe078
parent87ee9da87215ef975c625cd691efcf52abdf30af
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