Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2009 21:12:20 +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: r191537 - head/sys/net80211
Message-ID:  <200904262112.n3QLCKnT094827@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Sun Apr 26 21:12:19 2009
New Revision: 191537
URL: http://svn.freebsd.org/changeset/base/191537

Log:
  add missing DLT_IEEE802_11 bpf tap in ieee80211_start

Modified:
  head/sys/net80211/ieee80211_output.c

Modified: head/sys/net80211/ieee80211_output.c
==============================================================================
--- head/sys/net80211/ieee80211_output.c	Sun Apr 26 21:11:12 2009	(r191536)
+++ head/sys/net80211/ieee80211_output.c	Sun Apr 26 21:12:19 2009	(r191537)
@@ -273,6 +273,10 @@ ieee80211_start(struct ifnet *ifp)
 		 */
 		m->m_pkthdr.rcvif = (void *)ni;
 
+		/* XXX fragmented frames not handled */
+		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 */



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