svn commit: r191541 - head/sys/net80211

Sam Leffler sam at FreeBSD.org
Sun Apr 26 21:21:08 UTC 2009


Author: sam
Date: Sun Apr 26 21:21:07 2009
New Revision: 191541
URL: http://svn.freebsd.org/changeset/base/191541

Log:
  add missing DLT_IEEE802_11 tap

Modified:
  head/sys/net80211/ieee80211_superg.c

Modified: head/sys/net80211/ieee80211_superg.c
==============================================================================
--- head/sys/net80211/ieee80211_superg.c	Sun Apr 26 21:16:29 2009	(r191540)
+++ head/sys/net80211/ieee80211_superg.c	Sun Apr 26 21:21:07 2009	(r191541)
@@ -482,6 +482,9 @@ ff_transmit(struct ieee80211_node *ni, s
 		struct ifnet *ifp = vap->iv_ifp;
 		struct ifnet *parent = ni->ni_ic->ic_ifp;
 
+		if (bpf_peers_present(vap->iv_rawbpf))
+			bpf_mtap(vap->iv_rawbpf, m);
+
 		error = parent->if_transmit(parent, m);
 		if (error != 0) {
 			/* NB: IFQ_HANDOFF reclaims mbuf */


More information about the svn-src-head mailing list