Module Name:    src
Committed By:   nisimura
Date:           Sat Feb 29 04:02:06 UTC 2020

Modified Files:
        src/sys/dev/usb: if_axe.c

Log Message:
make sure to accept bcast frame all the time


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/dev/usb/if_axe.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/usb/if_axe.c
diff -u src/sys/dev/usb/if_axe.c:1.124 src/sys/dev/usb/if_axe.c:1.125
--- src/sys/dev/usb/if_axe.c:1.124	Sat Feb 29 02:51:14 2020
+++ src/sys/dev/usb/if_axe.c	Sat Feb 29 04:02:06 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_axe.c,v 1.124 2020/02/29 02:51:14 nisimura Exp $	*/
+/*	$NetBSD: if_axe.c,v 1.125 2020/02/29 04:02:06 nisimura Exp $	*/
 /*	$OpenBSD: if_axe.c,v 1.137 2016/04/13 11:03:37 mpi Exp $ */
 
 /*
@@ -87,7 +87,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.124 2020/02/29 02:51:14 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.125 2020/02/29 04:02:06 nisimura Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1288,7 +1288,7 @@ axe_init_locked(struct ifnet *ifp)
 		    ax88772b_mfb_table[AX88772B_MFB_16K].byte_cnt, NULL);
 	}
 	/* Enable receiver, set RX mode */
-	rxmode = (AXE_RXCMD_MULTICAST | AXE_RXCMD_ENABLE);
+	rxmode = (AXE_RXCMD_BROADCAST | AXE_RXCMD_MULTICAST | AXE_RXCMD_ENABLE);
 	if (AXE_IS_178_FAMILY(un)) {
 		if (un->un_flags & AX772B) {
 			/*

Reply via email to