madwifi: Fix compile warnings
[packages.git] / net / madwifi / patches / 482-fix_enum-compare.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -2560,7 +2560,7 @@ static int ath_setintmit(struct ath_soft
4  
5         switch(sc->sc_intmit) {
6                 case -1:
7 -                       if (sc->sc_opmode != IEEE80211_M_MONITOR)
8 +                       if (sc->sc_opmode != HAL_M_MONITOR)
9                                 val = 1;
10                         else
11                                 val = 0;