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>
This commit is contained in:
Thomas Pedersen
2013-12-19 10:25:15 -08:00
committed by Johannes Berg
parent 60a4fe0ae9
commit 057d5f4ba1
5 changed files with 46 additions and 0 deletions

View File

@@ -474,6 +474,7 @@ static ssize_t ieee80211_if_parse_tsf(
}
}
ieee80211_recalc_dtim(local, sdata);
return buflen;
}
IEEE80211_IF_FILE_RW(tsf);