Date: Mon, 27 Oct 2008 17:14:39 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r184350 - head/sys/dev/ath Message-ID: <200810271714.m9RHEddN046401@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Mon Oct 27 17:14:39 2008 New Revision: 184350 URL: http://svn.freebsd.org/changeset/base/184350 Log: use the ic's opmode instead of our hal equivalent to check for adhoc mode; they are always the same Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Mon Oct 27 17:12:41 2008 (r184349) +++ head/sys/dev/ath/if_ath.c Mon Oct 27 17:14:39 2008 (r184350) @@ -2588,7 +2588,7 @@ ath_calcrxfilter(struct ath_softc *sc) 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?200810271714.m9RHEddN046401>