summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_netdev.c
diff options
context:
space:
mode:
authorThomas Pedersen2013-12-19 19:25:15 +0100
committerJohannes Berg2014-01-06 20:10:47 +0100
commit057d5f4ba1e421185a8e7e0b7fadf253d41a3e83 (patch)
tree32417b8a78ea735667c46213446079e7729fde48 /net/mac80211/debugfs_netdev.c
parentcfg80211: fix wext-compat for getting retry value (diff)
downloadkernel-qcow2-linux-057d5f4ba1e421185a8e7e0b7fadf253d41a3e83.tar.gz
kernel-qcow2-linux-057d5f4ba1e421185a8e7e0b7fadf253d41a3e83.tar.xz
kernel-qcow2-linux-057d5f4ba1e421185a8e7e0b7fadf253d41a3e83.zip
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/debugfs_netdev.c')
-rw-r--r--net/mac80211/debugfs_netdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c
index b62cbe82954c..ebf80f3abd83 100644
--- a/net/mac80211/debugfs_netdev.c
+++ b/net/mac80211/debugfs_netdev.c
@@ -474,6 +474,7 @@ static ssize_t ieee80211_if_parse_tsf(
}
}
+ ieee80211_recalc_dtim(local, sdata);
return buflen;
}
IEEE80211_IF_FILE_RW(tsf);