PERFORCE change 151540 for review
Sam Leffler
sam at FreeBSD.org
Sun Oct 19 06:10:11 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=151540
Change 151540 by sam at sam_ebb on 2008/10/19 06:09:59
use ic_opmode instead of hal version when checking for
ibss mode; I was thinking ahdemo mode used adhoc mode
but it doesn't, it uses ap mode so there's no reason to
make this check more obtuse
Affected files ...
.. //depot/projects/vap/sys/dev/ath/if_ath.c#106 edit
Differences ...
==== //depot/projects/vap/sys/dev/ath/if_ath.c#106 (text+ko) ====
@@ -2601,7 +2601,7 @@
if (ic->ic_opmode == IEEE80211_M_MONITOR || (ifp->if_flags & IFF_PROMISC))
rfilt |= HAL_RX_FILTER_PROM;
if (ic->ic_opmode == IEEE80211_M_STA ||
- sc->sc_opmode == HAL_M_IBSS ||
+ ic->ic_opmode == IEEE80211_M_IBSS ||
sc->sc_swbmiss || sc->sc_scanning)
rfilt |= HAL_RX_FILTER_BEACON;
/*
More information about the p4-projects
mailing list