svn commit: r213803 - head/sys/dev/usb/net
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Oct 13 20:51:06 UTC 2010
Author: hselasky
Date: Wed Oct 13 20:51:06 2010
New Revision: 213803
URL: http://svn.freebsd.org/changeset/base/213803
Log:
USB network (UHSO):
- Correct network interface flags.
PR: usb/149039
Submitted by: Fredrik Lindberg
Approved by: thompsa (mentor)
Modified:
head/sys/dev/usb/net/uhso.c
Modified: head/sys/dev/usb/net/uhso.c
==============================================================================
--- head/sys/dev/usb/net/uhso.c Wed Oct 13 20:37:19 2010 (r213802)
+++ head/sys/dev/usb/net/uhso.c Wed Oct 13 20:51:06 2010 (r213803)
@@ -1560,7 +1560,7 @@ uhso_attach_ifnet(struct uhso_softc *sc,
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;
More information about the svn-src-head
mailing list