summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/376-beacon_update.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-03 15:17:34 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-03 15:17:34 +0000
commit93f00c0eb55a54b43b9a17fb95ae1ebb0971186b (patch)
tree5c83bbe7abb93d418c557d2a250d08a4346992d9 /package/madwifi/patches/376-beacon_update.patch
parentd7bb78e92d42e57a5cd18d1afe335a4d3354179d (diff)
madwifi patch cleanup and stability fixes
- fix a semi-random heisenbug by replacing the previous noderef fix with a simple hack that is not 100% correct, but safe. - add ad-hoc atim fixes by bruno - add napi polling fixes by sven-ola - fix compile breakage with debug enabled git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12838 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/376-beacon_update.patch')
-rw-r--r--package/madwifi/patches/376-beacon_update.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/package/madwifi/patches/376-beacon_update.patch b/package/madwifi/patches/376-beacon_update.patch
deleted file mode 100644
index 2b4f34b58..000000000
--- a/package/madwifi/patches/376-beacon_update.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/ath/if_ath.c
-+++ b/ath/if_ath.c
-@@ -5495,6 +5495,8 @@
- ath_hal_intrset(ah, sc->sc_imask);
- ath_set_beacon_cal(sc, 0);
- } else {
-+ unsigned long flags;
-+
- ath_hal_intrset(ah, 0);
- if (reset_tsf)
- intval |= HAL_BEACON_RESET_TSF;
-@@ -5514,11 +5516,14 @@
- ath_beacon_dturbo_config(vap, intval &
- ~(HAL_BEACON_RESET_TSF | HAL_BEACON_ENA));
- #endif
-+ local_irq_save(flags);
- 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);
-+ local_irq_restore(flags);
-+
- if (intval & HAL_BEACON_RESET_TSF) {
- sc->sc_last_tsf = 0;
- }