summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_output.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-04-26 21:12:19 +0000
committersam <sam@FreeBSD.org>2009-04-26 21:12:19 +0000
commitcc37518d09efdba46e85f45ff70e4c82824a7817 (patch)
tree65246b653e275099921f1a72ba16266b60bd7e59 /sys/net80211/ieee80211_output.c
parent092ebe6161bbbd723d60bc2ea2d2f65e29143ef7 (diff)
downloadFreeBSD-src-cc37518d09efdba46e85f45ff70e4c82824a7817.zip
FreeBSD-src-cc37518d09efdba46e85f45ff70e4c82824a7817.tar.gz
add missing DLT_IEEE802_11 bpf tap in ieee80211_start
Diffstat (limited to 'sys/net80211/ieee80211_output.c')
-rw-r--r--sys/net80211/ieee80211_output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index 46c8a55..a58f484 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -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 */
OpenPOWER on IntegriCloud