1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 20:06:14 +02:00
openwrt-xburst/package/madwifi/patches/352-ani_fix.patch
nbd 4a7c5241be madwifi: remove unnecessary part of the 349-reset.patch, add an ANI fix for future HALs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 10:17:36 +00:00

14 lines
563 B
Diff

Index: madwifi-trunk-r3314/ath/if_ath.c
===================================================================
--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-06-01 20:07:35.000000000 +0200
+++ madwifi-trunk-r3314/ath/if_ath.c 2008-06-01 20:17:01.000000000 +0200
@@ -2528,7 +2528,7 @@
* Enable MIB interrupts when there are hardware phy counters.
* Note we only do this (at the moment) for station mode.
*/
- if (sc->sc_needmib && ic->ic_opmode == IEEE80211_M_STA)
+ if (sc->sc_needmib)
sc->sc_imask |= HAL_INT_MIB;
ath_hal_intrset(ah, sc->sc_imask);