add missing DLT_IEEE802_11 bpf tap in ieee80211_start

This commit is contained in:
Sam Leffler 2009-04-26 21:12:19 +00:00
parent 0e910c9412
commit 77825c77d7

View File

@ -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 */