summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/net
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2010-10-13 20:51:06 +0000
committerhselasky <hselasky@FreeBSD.org>2010-10-13 20:51:06 +0000
commitf8f81dda430714db34e56ddc802f28d3dcc3ddff (patch)
tree554f76c013fe578f6a4c5df7321ffbbe32610331 /sys/dev/usb/net
parent508f4d74572e4717f91717ba1ad220da41303af6 (diff)
downloadFreeBSD-src-f8f81dda430714db34e56ddc802f28d3dcc3ddff.zip
FreeBSD-src-f8f81dda430714db34e56ddc802f28d3dcc3ddff.tar.gz
USB network (UHSO):
- Correct network interface flags. PR: usb/149039 Submitted by: Fredrik Lindberg Approved by: thompsa (mentor)
Diffstat (limited to 'sys/dev/usb/net')
-rw-r--r--sys/dev/usb/net/uhso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/net/uhso.c b/sys/dev/usb/net/uhso.c
index c259177..8571458 100644
--- a/sys/dev/usb/net/uhso.c
+++ b/sys/dev/usb/net/uhso.c
@@ -1560,7 +1560,7 @@ uhso_attach_ifnet(struct uhso_softc *sc, struct usb_interface *iface, int type)
ifp->if_init = uhso_if_init;
ifp->if_start = uhso_if_start;
ifp->if_output = uhso_if_output;
- ifp->if_flags = 0;
+ ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST | IFF_NOARP;
ifp->if_softc = sc;
IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen);
ifp->if_snd.ifq_drv_maxlen = ifqmaxlen;
OpenPOWER on IntegriCloud