packages/net/madwifi/patches/482-fix_enum-compare.patch
acinonyx 5639afca9c madwifi: Fix compile warnings
git-svn-id: svn://svn.openwrt.org/openwrt/packages@38373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 19:54:01 +00:00

12 lines
264 B
Diff

--- 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;