From: Felix Fietkau Date: Sat, 16 Aug 2008 17:00:13 +0000 (+0000) Subject: fix madwifi napi polling packet counting final fix for #3880 X-Git-Tag: reboot~25777 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3f9fcf1c06ed3e45ef9ec25d722898ba57a756bb;p=openwrt%2Fstaging%2Fjogo.git fix madwifi napi polling packet counting final fix for #3880 SVN-Revision: 12323 --- diff --git a/package/madwifi/patches/300-napi_polling.patch b/package/madwifi/patches/300-napi_polling.patch index 0d7b566b8d..fae35b54be 100644 --- a/package/madwifi/patches/300-napi_polling.patch +++ b/package/madwifi/patches/300-napi_polling.patch @@ -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) {