summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udl.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-05-02 10:44:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-05-02 10:44:30 +0000
commit893f9e9ca62f04dbe92e5c1bc1f4c4c1450e3cff (patch)
tree7bab90c5c69fcdb38e39c1649cbaa80f06c36f52 /sys/dev/usb/udl.c
parent3458d928b620cad1880a028a4399f6db2f42a505 (diff)
add missing splx calls
Diffstat (limited to 'sys/dev/usb/udl.c')
-rw-r--r--sys/dev/usb/udl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c
index 70122084a95..0ca8f119b20 100644
--- a/sys/dev/usb/udl.c
+++ b/sys/dev/usb/udl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udl.c,v 1.82 2015/03/14 03:38:49 jsg Exp $ */
+/* $OpenBSD: udl.c,v 1.83 2015/05/02 10:44:29 jsg Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -1836,6 +1836,7 @@ udl_cmd_send_async(struct udl_softc *sc)
}
if (i == UDL_CMD_XFER_COUNT) {
/* this shouldn't happen */
+ splx(s);
return (USBD_IN_USE);
}
cx = &sc->sc_cmd_xfer[i];