aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-07-19 12:35:00 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-07-19 12:35:00 -0400
commit3e497e0215ae1d552a69bd88ea0d1a004f71cccd (patch)
tree9684b54d4d55aaddc98ddc46d069d9a423d92034
parent0cd06647b7c24f6633e32a505930a9aa70138c22 (diff)
parent99102bd380f27b8dd5e058e69e3203bfad0cad94 (diff)
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
-rw-r--r--net/mac80211/cfg.c1
-rw-r--r--net/wireless/reg.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index efbbdc8a2be0..d41974aacf51 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -917,6 +917,7 @@ static int ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev)
917 917
918 kfree_rcu(old, rcu_head); 918 kfree_rcu(old, rcu_head);
919 919
920 sta_info_flush(sdata->local, sdata);
920 ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BEACON_ENABLED); 921 ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BEACON_ENABLED);
921 922
922 return 0; 923 return 0;
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index dbb01df3aacb..2303ee73b50a 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -929,11 +929,13 @@ static bool reg_request_cell_base(struct regulatory_request *request)
929 929
930bool reg_last_request_cell_base(void) 930bool reg_last_request_cell_base(void)
931{ 931{
932 bool val;
932 assert_cfg80211_lock(); 933 assert_cfg80211_lock();
933 934
934 mutex_lock(&reg_mutex); 935 mutex_lock(&reg_mutex);
935 return reg_request_cell_base(last_request); 936 val = reg_request_cell_base(last_request);
936 mutex_unlock(&reg_mutex); 937 mutex_unlock(&reg_mutex);
938 return val;
937} 939}
938 940
939#ifdef CONFIG_CFG80211_CERTIFICATION_ONUS 941#ifdef CONFIG_CFG80211_CERTIFICATION_ONUS