diff options
author | John W. Linville <linville@tuxdriver.com> | 2014-01-13 20:40:59 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-13 20:40:59 +0100 |
commit | f13352519ee8c4b22b87fc1a47743d1f53ea193e (patch) | |
tree | 48c18144f3e5e530ec61d5eadbb5a34675a69fe8 /net/mac80211/cfg.c | |
parent | Merge branch 'for-linville' of git://github.com/kvalo/ath (diff) | |
parent | mac80211_hwsim: restore regulatory testing functionality (diff) | |
download | linux-f13352519ee8c4b22b87fc1a47743d1f53ea193e.tar.xz linux-f13352519ee8c4b22b87fc1a47743d1f53ea193e.zip |
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 09d2e58a2ba7..f9ae9b85d4c1 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1035,6 +1035,7 @@ static int ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev, return err; } + ieee80211_recalc_dtim(local, sdata); ieee80211_bss_info_change_notify(sdata, changed); netif_carrier_on(dev); @@ -3854,7 +3855,7 @@ static int ieee80211_set_qos_map(struct wiphy *wiphy, new_qos_map = NULL; } - old_qos_map = rtnl_dereference(sdata->qos_map); + old_qos_map = sdata_dereference(sdata->qos_map, sdata); rcu_assign_pointer(sdata->qos_map, new_qos_map); if (old_qos_map) kfree_rcu(old_qos_map, rcu_head); |