mac80211: merge a power save related race condition fix
[openwrt.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 @@ -505,7 +505,7 @@ static void ath_beacon_config_ap(struct
4 /* NB: the beacon interval is kept internally in TU's */
5 intval = TU_TO_USEC(conf->beacon_interval);
6 intval /= ATH_BCBUF; /* for staggered beacons */
7 - nexttbtt = intval;
8 + nexttbtt = roundup(ath9k_hw_gettsf32(ah) + TU_TO_USEC(FUDGE), intval);
9
10 /*
11 * In AP mode we enable the beacon timers and SWBA interrupts to
This page took 0.04252 seconds and 5 git commands to generate.