summaryrefslogtreecommitdiff
path: root/sys/dev/ic/if_wi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/if_wi.c')
-rw-r--r--sys/dev/ic/if_wi.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c
index 9ca7996aab3..77f93be7a27 100644
--- a/sys/dev/ic/if_wi.c
+++ b/sys/dev/ic/if_wi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi.c,v 1.126 2005/12/03 21:11:47 brad Exp $ */
+/* $OpenBSD: if_wi.c,v 1.127 2006/03/25 22:41:43 djm Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -105,7 +105,6 @@
#include <crypto/arc4.h>
-#define BPF_MTAP(if,mbuf) bpf_mtap((if)->if_bpf, (mbuf))
#define BPFATTACH(if_bpf,if,dlt,sz)
#define STATIC
@@ -128,7 +127,7 @@ u_int32_t widebug = WIDEBUG;
#if !defined(lint) && !defined(__OpenBSD__)
static const char rcsid[] =
- "$OpenBSD: if_wi.c,v 1.126 2005/12/03 21:11:47 brad Exp $";
+ "$OpenBSD: if_wi.c,v 1.127 2006/03/25 22:41:43 djm Exp $";
#endif /* lint */
#ifdef foo
@@ -829,7 +828,7 @@ wi_rxeof(struct wi_softc *sc)
#if NBPFILTER > 0
/* Handle BPF listeners. */
if (ifp->if_bpf)
- BPF_MTAP(ifp, m);
+ bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_IN);
#endif
/* Receive packet unless in procframe or monitor mode. */
@@ -2358,7 +2357,7 @@ nextpkt:
* this frame to him.
*/
if (ifp->if_bpf)
- BPF_MTAP(ifp, m0);
+ bpf_mtap(ifp->if_bpf, m0, BPF_DIRECTION_OUT);
#endif
m_freem(m0);