ath9k: make beacon timer initialization more reliable
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Sep 2011 19:23:02 +0000 (21:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Sep 2011 20:45:36 +0000 (16:45 -0400)
commitc31c8261bf7b817e323d29ba66c031f6b0982680
treefd0c61fadfe6753c0a00d74a01315aa4771ca987
parente392700741a4a5f061f3fcc9f5f2ceb0e0b0953e
ath9k: make beacon timer initialization more reliable

When starting the AP beacon timer, it assumes that the TSF has recently
been cleared. Set the SC_OP_TSF_RESET flag to ensure that this is always
the case.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c