diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2019-09-30 01:53:06 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2019-09-30 01:53:06 +0000 |
commit | 2e94edf8d3329a76b2efd0b561196b9ca70b3bf8 (patch) | |
tree | 9a36df6a40732f924746ac29d58b8f008ac70332 /sys/dev/pci/if_wpi.c | |
parent | a2ace3df863ed064c9012c07f26dbdae274f782d (diff) |
remove the "copy function" argument to bpf_mtap_hdr.
it was previously (ab)used by pflog, which has since been fixed.
apart from that nothing else used it, so we can trim the cruft.
ok kn@ claudio@ visa@
visa@ also made sure i fixed ipw(4) so i386 won't break.
Diffstat (limited to 'sys/dev/pci/if_wpi.c')
-rw-r--r-- | sys/dev/pci/if_wpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c index cbf2b816a62..23514161af1 100644 --- a/sys/dev/pci/if_wpi.c +++ b/sys/dev/pci/if_wpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wpi.c,v 1.148 2019/09/18 23:52:32 dlg Exp $ */ +/* $OpenBSD: if_wpi.c,v 1.149 2019/09/30 01:53:05 dlg Exp $ */ /*- * Copyright (c) 2006-2008 @@ -1331,7 +1331,7 @@ wpi_rx_done(struct wpi_softc *sc, struct wpi_rx_desc *desc, } bpf_mtap_hdr(sc->sc_drvbpf, tap, sc->sc_rxtap_len, - m, BPF_DIRECTION_IN, NULL); + m, BPF_DIRECTION_IN); } #endif @@ -1711,7 +1711,7 @@ wpi_tx(struct wpi_softc *sc, struct mbuf *m, struct ieee80211_node *ni) tap->wt_flags |= IEEE80211_RADIOTAP_F_WEP; bpf_mtap_hdr(sc->sc_drvbpf, tap, sc->sc_txtap_len, - m, BPF_DIRECTION_OUT, NULL); + m, BPF_DIRECTION_OUT); } #endif |