Skip to content
Snippets Groups Projects
Commit 5745e536 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

madwifi: napi polling fix - fix u_int negative comparison - add some reserve...

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
parent 2e46841a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
+ }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment