diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index aa2dc0f838f..bd11e37d166 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -980,7 +980,7 @@ wi_start(struct ifnet *ifp) frmhdr.wi_tx_ctl |= htole16(WI_TXCNTL_NOCRYPT); } #if NBPFILTER > 0 - if (bpf_peers_present(ic->ic_rawbpf)) { + if (bpf_peers_present(ic->ic_drvbpf)) { sc->sc_tx_th.wt_rate = ni->ni_rates.rs_rates[ni->ni_txrate]; bpf_mtap2(sc->sc_drvbpf,