source: branches/backfire/package/mac80211/patches/585-ath9k_fix_beacon_timer.patch @ 28170

Last change on this file since 28170 was 28170, checked in by nbd, 5 years ago

ath9k: merge latest changes from trunk (as of r28169)

File size: 480 bytes
  • drivers/net/wireless/ath/ath9k/beacon.c

    a b static void ath_beacon_config_ap(struct  
    505505        /* NB: the beacon interval is kept internally in TU's */ 
    506506        intval = TU_TO_USEC(conf->beacon_interval); 
    507507        intval /= ATH_BCBUF;    /* for staggered beacons */ 
    508         nexttbtt = intval; 
     508        nexttbtt = roundup(ath9k_hw_gettsf32(ah) + TU_TO_USEC(FUDGE), intval); 
    509509 
    510510        /* 
    511511         * In AP mode we enable the beacon timers and SWBA interrupts to 
Note: See TracBrowser for help on using the repository browser.