X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fmadwifi%2Fpatches%2F374-nbtt_fix.patch;fp=package%2Fmadwifi%2Fpatches%2F374-nbtt_fix.patch;h=0000000000000000000000000000000000000000;hp=38a1c59d55289fca0c4b1091f140e3c72c8ec8ad;hb=3989dddaabe614a69432b34a3abb7e29bae9c0b5;hpb=9ab567885aeb883c4bf293e1ad1d84185b676bc6 diff --git a/package/madwifi/patches/374-nbtt_fix.patch b/package/madwifi/patches/374-nbtt_fix.patch deleted file mode 100644 index 38a1c59d55..0000000000 --- a/package/madwifi/patches/374-nbtt_fix.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/ath/if_ath.c -+++ b/ath/if_ath.c -@@ -5486,6 +5486,9 @@ ath_beacon_config(struct ath_softc *sc, - ath_beacon_dturbo_config(vap, intval & - ~(HAL_BEACON_RESET_TSF | HAL_BEACON_ENA)); - #endif -+ if ((nexttbtt & HAL_BEACON_PERIOD) - (ath_hal_gettsf32(ah) >> 10) -+ <= ath_hal_sw_beacon_response_time) -+ nexttbtt += intval; - sc->sc_nexttbtt = nexttbtt; - ath_hal_beaconinit(ah, nexttbtt, intval); - if (intval & HAL_BEACON_RESET_TSF) { ---- a/ath_hal/ah_os.c -+++ b/ath_hal/ah_os.c -@@ -71,6 +71,7 @@ static int ath_hal_debug = 99; - int ath_hal_dma_beacon_response_time = 2; /* in TUs */ - int ath_hal_sw_beacon_response_time = 10; /* in TUs */ - int ath_hal_additional_swba_backoff = 0; /* in TUs */ -+EXPORT_SYMBOL(ath_hal_sw_beacon_response_time); - - struct ath_hal * - _ath_hal_attach(u_int16_t devid, HAL_SOFTC sc,