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