فهرست منبع

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
Felix Fietkau 17 سال پیش
والد
کامیت
5745e536d4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      package/madwifi/patches/300-napi_polling.patch

+ 1 - 1
package/madwifi/patches/300-napi_polling.patch

@@ -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;
 +		}