diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-06-19 18:55:06 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-19 18:55:12 +0200 |
commit | f93beba705842af466e7c916b39630cacb40e9c6 (patch) | |
tree | 0f296f0b1e419eb4fc242e188376a4fdd80085fa /net/mac80211/cfg.c | |
parent | 52874a5e3917dde3b081521b014d6e4b226aacff (diff) | |
parent | 3a5a423bb958ad22eeccca66c533e85bf69ba10e (diff) |
Merge remote-tracking branch 'mac80211/master' into HEAD
Merge mac80211 to avoid conflicts with the nl80211 attrbuf
changes.
Conflicts:
net/mac80211/iface.c
net/wireless/nl80211.c
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 18ba7ed3ef0..93120de776f 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1071,6 +1071,12 @@ static int ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev) clear_bit(SDATA_STATE_OFFCHANNEL_BEACON_STOPPED, &sdata->state); ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BEACON_ENABLED); + if (sdata->wdev.cac_started) { + cancel_delayed_work_sync(&sdata->dfs_cac_timer_work); + cfg80211_cac_event(sdata->dev, NL80211_RADAR_CAC_ABORTED, + GFP_KERNEL); + } + drv_stop_ap(sdata->local, sdata); /* free all potentially still buffered bcast frames */ |