aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/396-napi_ff_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-25 01:26:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-25 01:26:20 +0000
commit87783599b286fcd2d2a8b675f76718ace632b5a4 (patch)
tree98b7f916a9d0a0fdb38cc16b37360dab7c2bbdcc /package/madwifi/patches/396-napi_ff_fix.patch
parent7e6c947e4b2d3332846d3ae091c884d3abe654b6 (diff)
downloadupstream-87783599b286fcd2d2a8b675f76718ace632b5a4.tar.gz
upstream-87783599b286fcd2d2a8b675f76718ace632b5a4.tar.bz2
upstream-87783599b286fcd2d2a8b675f76718ace632b5a4.zip
madwifi: delay calibration with a timer when called from becaon context
SVN-Revision: 15029
Diffstat (limited to 'package/madwifi/patches/396-napi_ff_fix.patch')
-rw-r--r--package/madwifi/patches/396-napi_ff_fix.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/patches/396-napi_ff_fix.patch b/package/madwifi/patches/396-napi_ff_fix.patch
index 6a019ce9b0..0b9acdfb79 100644
--- a/package/madwifi/patches/396-napi_ff_fix.patch
+++ b/package/madwifi/patches/396-napi_ff_fix.patch
@@ -1,6 +1,6 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
-@@ -6723,10 +6723,10 @@ ath_rx_poll(struct net_device *dev, int
+@@ -6725,10 +6725,10 @@ ath_rx_poll(struct net_device *dev, int
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
struct ath_softc *sc = container_of(napi, struct ath_softc, sc_napi);
struct net_device *dev = sc->sc_dev;
@@ -13,7 +13,7 @@
#endif
struct ath_buf *bf;
struct ieee80211com *ic = &sc->sc_ic;
-@@ -6769,13 +6769,15 @@ process_rx_again:
+@@ -6771,13 +6771,15 @@ process_rx_again:
break;
}
@@ -33,7 +33,7 @@
skb = bf->bf_skb;
if (skb == NULL) {
-@@ -7059,8 +7061,8 @@ rx_next:
+@@ -7061,8 +7063,8 @@ rx_next:
if (sc->sc_isr & HAL_INT_RX) {
u_int64_t hw_tsf = ath_hal_gettsf64(ah);
sc->sc_isr &= ~HAL_INT_RX;