Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2008 06:10:08 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 151540 for review
Message-ID:  <200810190610.m9J6A82W036896@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=151540

Change 151540 by sam@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;
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810190610.m9J6A82W036896>