projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e9123
)
madwifi: napi polling fix
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 11 Aug 2008 14:36:50 +0000
(14:36 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 11 Aug 2008 14:36:50 +0000
(14:36 +0000)
- fix u_int negative comparison
- add some reserve for polling packets (ff has two frames in one descriptor)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12280
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
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
609e74c
..
0d7b566
100644
(file)
--- 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;
+ }