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.
This commit is contained in:
Josef Karthauser 2002-04-07 10:02:45 +00:00
parent 1ae3f81d9b
commit fbc2dfc441
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94049

View File

@ -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;
}