diff options
author | 2019-09-30 01:53:04 +0000 | |
---|---|---|
committer | 2019-09-30 01:53:04 +0000 | |
commit | f1d9eb9729dfae311f02f30dbeca129d9ca1f384 (patch) | |
tree | 42ee2d274968b7597c8bd05fcf663b4170f4b439 /sys/dev/pci/if_ipw.c | |
parent | Restore SC_DEBUGN() as it was used outside sys/scsi. Some things are (diff) | |
download | wireguard-openbsd-f1d9eb9729dfae311f02f30dbeca129d9ca1f384.tar.xz wireguard-openbsd-f1d9eb9729dfae311f02f30dbeca129d9ca1f384.zip |
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_ipw.c')
-rw-r--r-- | sys/dev/pci/if_ipw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c index b0e8a3e778e..89d0fac49ce 100644 --- a/sys/dev/pci/if_ipw.c +++ b/sys/dev/pci/if_ipw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ipw.c,v 1.125 2019/09/18 23:52:32 dlg Exp $ */ +/* $OpenBSD: if_ipw.c,v 1.126 2019/09/30 01:53:05 dlg Exp $ */ /*- * Copyright (c) 2004-2008 @@ -887,7 +887,7 @@ ipw_data_intr(struct ipw_softc *sc, struct ipw_status *status, tap->wr_chan_flags = htole16(ic->ic_ibss_chan->ic_flags); bpf_mtap_hdr(sc->sc_drvbpf, tap, sc->sc_rxtap_len, - m, BPF_DIRECTION_IN, NULL); + m, BPF_DIRECTION_IN); } #endif @@ -1157,7 +1157,7 @@ ipw_tx_start(struct ifnet *ifp, struct mbuf *m, struct ieee80211_node *ni) tap->wt_chan_flags = htole16(ic->ic_ibss_chan->ic_flags); bpf_mtap_hdr(sc->sc_drvbpf, tap, sc->sc_txtap_len, - m, BPF_DIRECTION_OUT, NULL); + m, BPF_DIRECTION_OUT); } #endif |