mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-03-03 10:57:55 +02:00
fix madwifi napi polling packet counting
final fix for #3880 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12323 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3e8bff3590
commit
468573605a
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user