Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2008 22:03:12 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 138753 for review
Message-ID:  <200803272203.m2RM3C5Y078567@repoman.freebsd.org>

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

Change 138753 by sam@sam_ebb on 2008/03/27 22:02:35

	honor explicit promisc request on parent device

Affected files ...

.. //depot/projects/vap/sys/dev/ath/if_ath.c#49 edit

Differences ...

==== //depot/projects/vap/sys/dev/ath/if_ath.c#49 (text+ko) ====

@@ -2492,6 +2492,8 @@
 	if (ic->ic_opmode != IEEE80211_M_HOSTAP &&
 	    (ifp->if_flags & IFF_PROMISC))
 		rfilt |= HAL_RX_FILTER_PROM;
+	if (ifp->if_flags & IFF_PPROMISC)
+		rfilt |= HAL_RX_FILTER_PROM;
 	if (ic->ic_opmode == IEEE80211_M_STA ||
 	    sc->sc_opmode == HAL_M_IBSS ||
 	    sc->sc_swbmiss || sc->sc_scanning)



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