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:
Augustin Cavalier 2021-09-28 14:36:44 -04:00
parent 337b483bd8
commit ffc83aa24a
3 changed files with 6 additions and 0 deletions

View File

@ -1558,6 +1558,8 @@ EHCI::AddPendingTransfer(Transfer *transfer, ehci_qh *queueHead,
delete data;
return B_DEV_RESOURCE_CONFLICT;
}
it = it->link;
}
if (fLastTransfer)

View File

@ -1460,6 +1460,8 @@ OHCI::_SubmitTransfer(Transfer *transfer)
_FreeDescriptorChain(firstDescriptor);
return B_DEV_RESOURCE_CONFLICT;
}
it = it->link;
}
result = _AddPendingTransfer(transfer, endpoint, firstDescriptor,

View File

@ -1076,6 +1076,8 @@ UHCI::AddPendingTransfer(Transfer *transfer, Queue *queue,
delete data;
return B_DEV_RESOURCE_CONFLICT;
}
it = it->link;
}
if (fLastTransfer)