Increase request timeout so that slow (read old USB 1.0Ã) devices got enough time to
startup before being able to reply initial configuration request. This fix #6173. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38982 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
360208fb1f
commit
51ff3ec972
@ -339,7 +339,7 @@ ControlPipe::SendRequest(uint8 requestType, uint8 request, uint16 value,
|
||||
|
||||
// The sem will be released unconditionally in the callback after the
|
||||
// result data was filled in. Use a 1 second timeout for control transfers.
|
||||
if (acquire_sem_etc(fNotifySem, 1, B_RELATIVE_TIMEOUT, 1000000) < B_OK) {
|
||||
if (acquire_sem_etc(fNotifySem, 1, B_RELATIVE_TIMEOUT, 2000000) < B_OK) {
|
||||
TRACE_ERROR("timeout waiting for queued request to complete\n");
|
||||
|
||||
CancelQueuedTransfers(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user