mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 03:42:28 +02:00
madwifi: napi polling fix
- 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
This commit is contained in:
parent
5d8f115d9b
commit
671fedb27c
@ -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;
|
||||
+ }
|
||||
|
Loading…
Reference in New Issue
Block a user