summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-06-02 23:14:40 +0000
committersam <sam@FreeBSD.org>2006-06-02 23:14:40 +0000
commitc35d17efe0d0b7b4ab064b041e890a7e341ab5ed (patch)
tree24469a0066d7f45b8c379dc7901a2dbfe0aab18d /sys/dev/ath
parentf018362c4adf765452a6cca57e43fb6f2f58b2ba (diff)
downloadFreeBSD-src-c35d17efe0d0b7b4ab064b041e890a7e341ab5ed.zip
FreeBSD-src-c35d17efe0d0b7b4ab064b041e890a7e341ab5ed.tar.gz
add missed calls to bpf_peers_present
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 09d5976..aeee905 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -3635,7 +3635,7 @@ ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf
ieee80211_dump_pkt(mtod(m0, caddr_t), m0->m_len,
sc->sc_hwmap[txrate].ieeerate, -1);
- if (ic->ic_rawbpf)
+ if (bpf_peers_present(ic->ic_rawbpf))
bpf_mtap(ic->ic_rawbpf, m0);
if (bpf_peers_present(sc->sc_drvbpf)) {
u_int64_t tsf = ath_hal_gettsf64(ah);
OpenPOWER on IntegriCloud