diff options
author | Thomas Pedersen <twpedersen@gmail.com> | 2013-12-19 13:25:15 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-01-06 14:10:47 -0500 |
commit | 057d5f4ba1e421185a8e7e0b7fadf253d41a3e83 (patch) | |
tree | 32417b8a78ea735667c46213446079e7729fde48 /net/mac80211/cfg.c | |
parent | 60a4fe0ae97b515f174f9bcb157cbaeff0dab8ac (diff) |
mac80211: sync dtim_count to TSF
On starting a mesh or AP BSS, the interface dtim_count
countdown should match that of the driver TSF.
Signed-off-by: Thomas Pedersen <twpedersen@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index fd1020e791d8..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, | |||
1035 | return err; | 1035 | return err; |
1036 | } | 1036 | } |
1037 | 1037 | ||
1038 | ieee80211_recalc_dtim(local, sdata); | ||
1038 | ieee80211_bss_info_change_notify(sdata, changed); | 1039 | ieee80211_bss_info_change_notify(sdata, changed); |
1039 | 1040 | ||
1040 | netif_carrier_on(dev); | 1041 | netif_carrier_on(dev); |