Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb make sure to accept bcast frame all the time
details: https://anonhg.NetBSD.org/src/rev/7bf4adcff8a1
branches: trunk
changeset: 745329:7bf4adcff8a1
user: nisimura <nisimura%NetBSD.org@localhost>
date: Sat Feb 29 04:02:06 2020 +0000
description:
make sure to accept bcast frame all the time
diffstat:
sys/dev/usb/if_axe.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d56c2ea48f57 -r 7bf4adcff8a1 sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c Sat Feb 29 02:51:14 2020 +0000
+++ b/sys/dev/usb/if_axe.c Sat Feb 29 04:02:06 2020 +0000
@@ -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 @@
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) {
/*
Home |
Main Index |
Thread Index |
Old Index