diff options
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | 2013-04-08 22:43:16 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-10 20:24:16 +0200 |
commit | e47468518b9dc42db459e7240909946316d9c6c9 (patch) | |
tree | 46e35f5017ed635c2d9b930145ae542776a3fc32 /net/mac80211/cfg.c | |
parent | 3088f7d2db42925808c4b43a6258647ee4d1dd5f (diff) | |
download | op-kernel-dev-e47468518b9dc42db459e7240909946316d9c6c9.zip op-kernel-dev-e47468518b9dc42db459e7240909946316d9c6c9.tar.gz |
mac80211: fix recalc_radar hwconf sync problem
local->hw.conf maybe not be synced when recalcing whether radar is
enabled, sometimes leaving radar enabled even if it's not neccesary
anymore.
Fix this by:
* setting radar_enabled when creating the chanctx
* turning radar_enabled off before destroying the last channel context
Reported-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions