summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/396-napi_ff_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-07 21:00:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-07 21:00:35 +0000
commita8a91697ce4c8f9d1e701b52356f69702741d5cd (patch)
tree70c15d4591a6a9596ffb1c3d4e2e2140265e4709 /package/madwifi/patches/396-napi_ff_fix.patch
parent3dea7e450fa43f07f76ca9fc6b1b0e51fa1af5fd (diff)
downloadmtk-20170518-a8a91697ce4c8f9d1e701b52356f69702741d5cd.zip
mtk-20170518-a8a91697ce4c8f9d1e701b52356f69702741d5cd.tar.gz
mtk-20170518-a8a91697ce4c8f9d1e701b52356f69702741d5cd.tar.bz2
madwifi: improve autochannel, nuke some dead code, fix scanlist building from channel mode
SVN-Revision: 15702
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 0b9acdf..fbfd30e 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
-@@ -6725,10 +6725,10 @@ ath_rx_poll(struct net_device *dev, int
+@@ -6733,10 +6733,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;
-@@ -6771,13 +6771,15 @@ process_rx_again:
+@@ -6779,13 +6779,15 @@ process_rx_again:
break;
}
@@ -33,7 +33,7 @@
skb = bf->bf_skb;
if (skb == NULL) {
-@@ -7061,8 +7063,8 @@ rx_next:
+@@ -7069,8 +7071,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;