summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/585-ath9k_fix_beacon_timer.patch
blob: bb924b7a85f1aa52f90a1f7f994d72dbd4fd1ec9 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/drivers/net/wireless/ath/ath9k/beacon.c
+++ b/drivers/net/wireless/ath/ath9k/beacon.c
@@ -517,6 +517,7 @@ static void ath_beacon_config_ap(struct 
 	/* Set the computed AP beacon timers */
 
 	ath9k_hw_disable_interrupts(ah);
+	sc->sc_flags |= SC_OP_TSF_RESET;
 	ath9k_beacon_init(sc, nexttbtt, intval);
 	sc->beacon.bmisscnt = 0;
 	ath9k_hw_set_interrupts(ah, ah->imask);