Module Name:    src
Committed By:   martin
Date:           Tue Jul 31 16:22:51 UTC 2018

Modified Files:
        src/sys/dev/ic [netbsd-8]: malo.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #952):

        sys/dev/ic/malo.c: revision 1.11

bpf_mtap*() after ieee80211_encap() should be bpf_mtap3() rather than
bpf_mtap(). bpf_mtap3() is for raw bpf.


To generate a diff of this commit:
cvs rdiff -u -r1.9.6.1 -r1.9.6.2 src/sys/dev/ic/malo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/malo.c
diff -u src/sys/dev/ic/malo.c:1.9.6.1 src/sys/dev/ic/malo.c:1.9.6.2
--- src/sys/dev/ic/malo.c:1.9.6.1	Sun Dec 10 10:10:23 2017
+++ src/sys/dev/ic/malo.c	Tue Jul 31 16:22:51 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: malo.c,v 1.9.6.1 2017/12/10 10:10:23 snj Exp $ */
+/*	$NetBSD: malo.c,v 1.9.6.2 2018/07/31 16:22:51 martin Exp $ */
 /*	$OpenBSD: malo.c,v 1.92 2010/08/27 17:08:00 jsg Exp $ */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: malo.c,v 1.9.6.1 2017/12/10 10:10:23 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: malo.c,v 1.9.6.2 2018/07/31 16:22:51 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -1074,7 +1074,7 @@ malo_start(struct ifnet *ifp)
 			m0 = ieee80211_encap(ic, m0, ni);
 			if (m0 == NULL)
 				continue;
-			bpf_mtap(ifp, m0);
+			bpf_mtap3(ic->ic_rawbpf, m0);
 
 			if (malo_tx_data(sc, m0, ni) != 0) {
 				ieee80211_free_node(ni);

Reply via email to