add missing part of r191537 that should have read: hoist DLT_IEEE802_11

bpf tap from ieee80211_encap up to ieee80211_start
This commit is contained in:
Sam Leffler 2009-04-26 21:16:29 +00:00
parent d02add54ea
commit 525ae70f94
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191540

View File

@ -1138,10 +1138,6 @@ ieee80211_encap(struct ieee80211vap *vap, struct ieee80211_node *ni,
IEEE80211_NODE_STAT(ni, tx_ucast);
IEEE80211_NODE_STAT_ADD(ni, tx_bytes, datalen);
/* XXX fragmented frames not handled */
if (bpf_peers_present(vap->iv_rawbpf))
bpf_mtap(vap->iv_rawbpf, m);
return m;
bad:
if (m != NULL)