Module Name:    src
Committed By:   martin
Date:           Tue Jul 31 16:20:33 UTC 2018

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

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

        sys/dev/ic/rt2661.c: revision 1.38

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


To generate a diff of this commit:
cvs rdiff -u -r1.35.2.1 -r1.35.2.2 src/sys/dev/ic/rt2661.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/rt2661.c
diff -u src/sys/dev/ic/rt2661.c:1.35.2.1 src/sys/dev/ic/rt2661.c:1.35.2.2
--- src/sys/dev/ic/rt2661.c:1.35.2.1	Sun Dec 10 10:10:23 2017
+++ src/sys/dev/ic/rt2661.c	Tue Jul 31 16:20:33 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: rt2661.c,v 1.35.2.1 2017/12/10 10:10:23 snj Exp $	*/
+/*	$NetBSD: rt2661.c,v 1.35.2.2 2018/07/31 16:20:33 martin Exp $	*/
 /*	$OpenBSD: rt2661.c,v 1.17 2006/05/01 08:41:11 damien Exp $	*/
 /*	$FreeBSD: rt2560.c,v 1.5 2006/06/02 19:59:31 csjp Exp $	*/
 
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rt2661.c,v 1.35.2.1 2017/12/10 10:10:23 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rt2661.c,v 1.35.2.2 2018/07/31 16:20:33 martin Exp $");
 
 
 #include <sys/param.h>
@@ -1890,7 +1890,7 @@ rt2661_start(struct ifnet *ifp)
 				continue;
 			}
 
-			bpf_mtap3(ifp->if_bpf, m0);
+			bpf_mtap(ifp, m0);
 			m0 = ieee80211_encap(ic, m0, ni);
 			if (m0 == NULL) {
 				ieee80211_free_node(ni);

Reply via email to