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
This commit is contained in:
parent
2e46841afd
commit
5745e536d4
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@
|
||||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
|
||||||
+ processed++;
|
+ processed++;
|
||||||
+#endif
|
+#endif
|
||||||
+ if (rx_limit-- < 0) {
|
+ if (rx_limit-- < 2) {
|
||||||
+ early_stop = 1;
|
+ early_stop = 1;
|
||||||
+ break;
|
+ break;
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in a new issue