aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/300-napi_polling.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-16 17:00:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-16 17:00:13 +0000
commit3f9fcf1c06ed3e45ef9ec25d722898ba57a756bb (patch)
treef443ef80eacad78ec36ec7e552e11b402fc7301c /package/madwifi/patches/300-napi_polling.patch
parenta3a37d0bb1e9e66c12aa68d0c17dee48a4f7f29e (diff)
downloadupstream-3f9fcf1c06ed3e45ef9ec25d722898ba57a756bb.tar.gz
upstream-3f9fcf1c06ed3e45ef9ec25d722898ba57a756bb.tar.bz2
upstream-3f9fcf1c06ed3e45ef9ec25d722898ba57a756bb.zip
fix madwifi napi polling packet counting final fix for #3880
SVN-Revision: 12323
Diffstat (limited to 'package/madwifi/patches/300-napi_polling.patch')
-rw-r--r--package/madwifi/patches/300-napi_polling.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/patches/300-napi_polling.patch b/package/madwifi/patches/300-napi_polling.patch
index 0d7b566b8d..fae35b54be 100644
--- a/package/madwifi/patches/300-napi_polling.patch
+++ b/package/madwifi/patches/300-napi_polling.patch
@@ -231,13 +231,13 @@
break;
}
+
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+ processed++;
-+#endif
+ if (rx_limit-- < 2) {
+ early_stop = 1;
+ break;
+ }
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
++ processed++;
++#endif
+
skb = bf->bf_skb;
if (skb == NULL) {