summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-11 14:36:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-11 14:36:50 +0000
commit5745e536d410a5f3b4a1e261a627cb98eb5e7e35 (patch)
tree2fdfacddf2d93273aac1d30e90ce1dab275d6f5f /package
parent2e46841afd778b1518d3d75e58f95461f79b5f41 (diff)
downloadmtk-20170518-5745e536d410a5f3b4a1e261a627cb98eb5e7e35.zip
mtk-20170518-5745e536d410a5f3b4a1e261a627cb98eb5e7e35.tar.gz
mtk-20170518-5745e536d410a5f3b4a1e261a627cb98eb5e7e35.tar.bz2
madwifi: napi polling fix - fix u_int negative comparison - add some reserve for polling packets (ff has two frames in one descriptor)
SVN-Revision: 12280
Diffstat (limited to 'package')
-rw-r--r--package/madwifi/patches/300-napi_polling.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/300-napi_polling.patch b/package/madwifi/patches/300-napi_polling.patch
index 609e74c..0d7b566 100644
--- a/package/madwifi/patches/300-napi_polling.patch
+++ b/package/madwifi/patches/300-napi_polling.patch
@@ -234,7 +234,7 @@
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
+ processed++;
+#endif
-+ if (rx_limit-- < 0) {
++ if (rx_limit-- < 2) {
+ early_stop = 1;
+ break;
+ }