madwifi: remove unnecessary part of the 349-reset.patch, add an ANI fix for future...
[openwrt/openwrt.git] / package / madwifi / patches / 352-ani_fix.patch
1 Index: madwifi-trunk-r3314/ath/if_ath.c
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-06-01 20:07:35.000000000 +0200
4 +++ madwifi-trunk-r3314/ath/if_ath.c 2008-06-01 20:17:01.000000000 +0200
5 @@ -2528,7 +2528,7 @@
6 * Enable MIB interrupts when there are hardware phy counters.
7 * Note we only do this (at the moment) for station mode.
8 */
9 - if (sc->sc_needmib && ic->ic_opmode == IEEE80211_M_STA)
10 + if (sc->sc_needmib)
11 sc->sc_imask |= HAL_INT_MIB;
12 ath_hal_intrset(ah, sc->sc_imask);
13