summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb/if_upl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c
index d77efa3f60c..3386277aafc 100644
--- a/sys/dev/usb/if_upl.c
+++ b/sys/dev/usb/if_upl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upl.c,v 1.60 2014/12/29 00:46:01 brad Exp $ */
+/* $OpenBSD: if_upl.c,v 1.61 2014/12/29 02:39:33 brad Exp $ */
/* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -780,6 +780,7 @@ upl_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
ifp->if_flags |= IFF_UP;
if (!(ifp->if_flags & IFF_RUNNING))
upl_init(sc);
+ break;
case SIOCSIFFLAGS:
if (ifp->if_flags & IFF_UP) {
@@ -798,10 +799,10 @@ upl_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
error = EINVAL;
else
ifp->if_mtu = ifr->ifr_mtu;
+ break;
default:
error = ENOTTY;
- break;
}
if (error == ENETRESET)