1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

madwifi: napi polling fixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10550 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2008-03-07 01:06:23 +00:00
parent 9fa0b11822
commit cbd6f6f55f
3 changed files with 38 additions and 45 deletions

View File

@@ -1,9 +1,9 @@
Index: madwifi-trunk-r3314/ath/if_ath.c
===================================================================
--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-02-20 21:59:01.609670527 +0100
+++ madwifi-trunk-r3314/ath/if_ath.c 2008-02-20 21:59:04.037808900 +0100
@@ -6752,8 +6752,9 @@
*budget -= processed;
--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-03-07 00:38:26.748463672 +0100
+++ madwifi-trunk-r3314/ath/if_ath.c 2008-03-07 00:38:51.285861974 +0100
@@ -6753,8 +6753,9 @@
dev->quota -= processed;
#endif
- /* rx signal state monitoring */
@@ -11,6 +11,6 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
+ /* rx signal state monitoring, only necessary/applicable for sta mode */
+ if (sc->sc_opmode == HAL_M_STA)
+ ath_hal_rxmonitor(ah, &sc->sc_halstats, &sc->sc_curchan);
return early_stop;
#undef PA2DESC
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
return processed;
#else