]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211_hwsim: write TSF timestamp correctly to S1G beacon
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 22 Sep 2020 02:28:17 +0000 (19:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Sep 2020 12:10:13 +0000 (14:10 +0200)
commita3ffee47354fca71c24223af2b20ef69a1b0ff5b
treea827ac501a63dc4e7a24b9181d7c9d9b7070d423
parent58ef7c1b555e0e605da24b76cb2821dd3fcd6bc6
mac80211_hwsim: write TSF timestamp correctly to S1G beacon

S1G beacons are different from normal management beacons, so write
the timestamp to the correct location there.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200922022818.15855-17-thomas@adapt-ip.com
[rewrite commit message that was not useful after patch reordering]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c