summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ohci.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-04-07 10:02:45 +0000
committerjoe <joe@FreeBSD.org>2002-04-07 10:02:45 +0000
commitc7075e245c5c40fd36d445178fd6e80cf3503b59 (patch)
treeb20d496a984ed610bee58fc1c73c882776177fc2 /sys/dev/usb/ohci.c
parent41106f79d6f37f12439879920f3c5a0e53196c50 (diff)
downloadFreeBSD-src-c7075e245c5c40fd36d445178fd6e80cf3503b59.zip
FreeBSD-src-c7075e245c5c40fd36d445178fd6e80cf3503b59.tar.gz
MFNetBSD:
revision 1.102 date: 2001/04/01 15:00:29; author: augustss; state: Exp; lines: +3 -1 Add two missing splx() (inside DIAGNOSTIC). From OpenBSD.
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r--sys/dev/usb/ohci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index 28c54dc..378caa3 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -2069,8 +2069,8 @@ ohci_abort_xfer_end(void *v)
p = xfer->hcpriv;
#ifdef DIAGNOSTIC
if (p == NULL) {
- printf("ohci_abort_xfer: hcpriv==0\n");
splx(s);
+ printf("ohci_abort_xfer: hcpriv==0\n");
return;
}
#endif
@@ -3173,6 +3173,7 @@ ohci_device_isoc_abort(usbd_xfer_handle xfer)
sitd = xfer->hcpriv;
#ifdef DIAGNOSTIC
if (sitd == NULL) {
+ splx(s);
printf("ohci_device_isoc_abort: hcpriv==0\n");
return;
}
OpenPOWER on IntegriCloud