mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-20 04:30:36 +02:00
4b62fffaa5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28169 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
480 B
Diff
12 lines
480 B
Diff
--- a/drivers/net/wireless/ath/ath9k/beacon.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/beacon.c
|
|
@@ -505,7 +505,7 @@ static void ath_beacon_config_ap(struct
|
|
/* NB: the beacon interval is kept internally in TU's */
|
|
intval = TU_TO_USEC(conf->beacon_interval);
|
|
intval /= ATH_BCBUF; /* for staggered beacons */
|
|
- nexttbtt = intval;
|
|
+ nexttbtt = roundup(ath9k_hw_gettsf32(ah) + TU_TO_USEC(FUDGE), intval);
|
|
|
|
/*
|
|
* In AP mode we enable the beacon timers and SWBA interrupts to
|