ath9k: add a better fix for beacon timer reliability (backport of r28211)
[openwrt-10.03/.git] / package / mac80211 / patches / 585-ath9k_fix_beacon_timer.patch
1 --- a/drivers/net/wireless/ath/ath9k/beacon.c
2 +++ b/drivers/net/wireless/ath/ath9k/beacon.c
3 @@ -517,6 +517,7 @@ static void ath_beacon_config_ap(struct 
4         /* Set the computed AP beacon timers */
5  
6         ath9k_hw_disable_interrupts(ah);
7 +       sc->sc_flags |= SC_OP_TSF_RESET;
8         ath9k_beacon_init(sc, nexttbtt, intval);
9         sc->beacon.bmisscnt = 0;
10         ath9k_hw_set_interrupts(ah, ah->imask);