mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
fix madwifi napi polling packet counting final fix for #3880
SVN-Revision: 12323
This commit is contained in:
parent
a3a37d0bb1
commit
3f9fcf1c06
@ -231,13 +231,13 @@
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
+
|
+
|
||||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
|
|
||||||
+ processed++;
|
|
||||||
+#endif
|
|
||||||
+ if (rx_limit-- < 2) {
|
+ if (rx_limit-- < 2) {
|
||||||
+ early_stop = 1;
|
+ early_stop = 1;
|
||||||
+ break;
|
+ break;
|
||||||
+ }
|
+ }
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
|
||||||
|
+ processed++;
|
||||||
|
+#endif
|
||||||
+
|
+
|
||||||
skb = bf->bf_skb;
|
skb = bf->bf_skb;
|
||||||
if (skb == NULL) {
|
if (skb == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user