Here's the Unlock ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19054 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -246,9 +246,12 @@ BusManager::_GetDefaultPipe(usb_speed speed)
|
|||||||
0, 0, speed, 8);
|
0, 0, speed, 8);
|
||||||
if (!fDefaultPipes[speed]) {
|
if (!fDefaultPipes[speed]) {
|
||||||
TRACE_ERROR(("usb BusManager: failed to allocate default pipe\n"));
|
TRACE_ERROR(("usb BusManager: failed to allocate default pipe\n"));
|
||||||
|
Unlock();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Unlock();
|
||||||
|
|
||||||
return fDefaultPipes[speed];
|
return fDefaultPipes[speed];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user