projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a37d0
)
fix madwifi napi polling packet counting final fix for #3880
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 Aug 2008 17:00:13 +0000
(17:00 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 Aug 2008 17:00:13 +0000
(17:00 +0000)
SVN-Revision: 12323
package/madwifi/patches/300-napi_polling.patch
patch
|
blob
|
history
diff --git
a/package/madwifi/patches/300-napi_polling.patch
b/package/madwifi/patches/300-napi_polling.patch
index 0d7b566b8d7a7396c4721c445bcceba9ad19dcb8..fae35b54bec9dfbee16296fd22ee3b083dcd4bd9 100644
(file)
--- 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) {