commit | ac56703e0e790509963ee42cddebe706fbd3b74c | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Tue May 17 10:34:12 2011 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Thu May 19 13:54:05 2011 -0400 |
tree | 83adac6e8a05fab9c9d7a6e62beb6d7104639231 | |
parent | 5b68138e5659cbfd5df2879d17f9ba0b66477fec [diff] |
ath9k: fix ad-hoc nexttbtt calculation rounding up the delta between last-beacon-tsf and tsf to intval is wrong and can lead to misconfigured timers which breaks beacon transmission. Fix this by adding intval and subtracting the offset of the tsf within the current slot. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>