summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwi.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-09-30 01:53:06 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-09-30 01:53:06 +0000
commit2e94edf8d3329a76b2efd0b561196b9ca70b3bf8 (patch)
tree9a36df6a40732f924746ac29d58b8f008ac70332 /sys/dev/pci/if_iwi.c
parenta2ace3df863ed064c9012c07f26dbdae274f782d (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_iwi.c')
-rw-r--r--sys/dev/pci/if_iwi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index 8b5f9119a60..e7093399642 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwi.c,v 1.142 2019/09/18 23:52:32 dlg Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.143 2019/09/30 01:53:05 dlg Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -937,7 +937,7 @@ iwi_frame_intr(struct iwi_softc *sc, struct iwi_rx_data *data,
tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE;
bpf_mtap_hdr(sc->sc_drvbpf, tap, sc->sc_rxtap_len,
- m, BPF_DIRECTION_IN, NULL);
+ m, BPF_DIRECTION_IN);
}
#endif
@@ -1268,7 +1268,7 @@ iwi_tx_start(struct ifnet *ifp, struct mbuf *m0, struct ieee80211_node *ni)
tap->wt_chan_flags = htole16(ic->ic_bss->ni_chan->ic_flags);
bpf_mtap_hdr(sc->sc_drvbpf, tap, sc->sc_txtap_len,
- m0, BPF_DIRECTION_OUT, NULL);
+ m0, BPF_DIRECTION_OUT);
}
#endif