USB bus drivers: Add missing iterator increments.
Should fix boot hang regressions introduced in hrev55455 in the fix for #17275.
This commit is contained in:
parent
337b483bd8
commit
ffc83aa24a
@ -1558,6 +1558,8 @@ EHCI::AddPendingTransfer(Transfer *transfer, ehci_qh *queueHead,
|
||||
delete data;
|
||||
return B_DEV_RESOURCE_CONFLICT;
|
||||
}
|
||||
|
||||
it = it->link;
|
||||
}
|
||||
|
||||
if (fLastTransfer)
|
||||
|
@ -1460,6 +1460,8 @@ OHCI::_SubmitTransfer(Transfer *transfer)
|
||||
_FreeDescriptorChain(firstDescriptor);
|
||||
return B_DEV_RESOURCE_CONFLICT;
|
||||
}
|
||||
|
||||
it = it->link;
|
||||
}
|
||||
|
||||
result = _AddPendingTransfer(transfer, endpoint, firstDescriptor,
|
||||
|
@ -1076,6 +1076,8 @@ UHCI::AddPendingTransfer(Transfer *transfer, Queue *queue,
|
||||
delete data;
|
||||
return B_DEV_RESOURCE_CONFLICT;
|
||||
}
|
||||
|
||||
it = it->link;
|
||||
}
|
||||
|
||||
if (fLastTransfer)
|
||||
|
Loading…
Reference in New Issue
Block a user