svn commit: r191537 - head/sys/net80211
Sam Leffler
sam at FreeBSD.org
Sun Apr 26 21:12:20 UTC 2009
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 */
More information about the svn-src-all
mailing list