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:
Niels Sascha Reedijk
2006-10-13 08:48:24 +00:00
parent 5450af8220
commit 15f45baf60
@@ -246,9 +246,12 @@ BusManager::_GetDefaultPipe(usb_speed speed)
0, 0, speed, 8);
if (!fDefaultPipes[speed]) {
TRACE_ERROR(("usb BusManager: failed to allocate default pipe\n"));
Unlock();
return NULL;
}
}
Unlock();
return fDefaultPipes[speed];
}