aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/328-ani_stuff.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-03-07 01:06:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-03-07 01:06:23 +0000
commite5bafab092c915fae46ed65227b96911a32b8632 (patch)
treefecd65d3818b6cd60869c64e2b2d75b391338c08 /package/madwifi/patches/328-ani_stuff.patch
parent69083f6e4d11e70701e54a02207e7be80c22c32b (diff)
downloadupstream-e5bafab092c915fae46ed65227b96911a32b8632.tar.gz
upstream-e5bafab092c915fae46ed65227b96911a32b8632.tar.bz2
upstream-e5bafab092c915fae46ed65227b96911a32b8632.zip
madwifi: napi polling fixes
SVN-Revision: 10550
Diffstat (limited to 'package/madwifi/patches/328-ani_stuff.patch')
-rw-r--r--package/madwifi/patches/328-ani_stuff.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/madwifi/patches/328-ani_stuff.patch b/package/madwifi/patches/328-ani_stuff.patch
index 43daa76f4b..32fa89d6f3 100644
--- a/package/madwifi/patches/328-ani_stuff.patch
+++ b/package/madwifi/patches/328-ani_stuff.patch
@@ -1,9 +1,9 @@
Index: madwifi-trunk-r3314/ath/if_ath.c
===================================================================
---- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-02-20 21:59:01.609670527 +0100
-+++ madwifi-trunk-r3314/ath/if_ath.c 2008-02-20 21:59:04.037808900 +0100
-@@ -6752,8 +6752,9 @@
- *budget -= processed;
+--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-03-07 00:38:26.748463672 +0100
++++ madwifi-trunk-r3314/ath/if_ath.c 2008-03-07 00:38:51.285861974 +0100
+@@ -6753,8 +6753,9 @@
+ dev->quota -= processed;
#endif
- /* rx signal state monitoring */
@@ -11,6 +11,6 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
+ /* rx signal state monitoring, only necessary/applicable for sta mode */
+ if (sc->sc_opmode == HAL_M_STA)
+ ath_hal_rxmonitor(ah, &sc->sc_halstats, &sc->sc_curchan);
- return early_stop;
- #undef PA2DESC
- }
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
+ return processed;
+ #else