svn commit: r191537 - head/sys/net80211

[ Available lists | Index of svn-src-all | Month of Apr 2009 | Week of 26 Apr 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Sam Leffler <sam@FreeBSD.org>
Date
26 Apr 2009 21:12:20
Subject
svn commit: r191537 - head/sys/net80211
Message-ID
200904262112.n3QLCKnT094827@svn.freebsd.org


[ Hide this part ]
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 */


Elapsed time: 0.331 seconds