[USBPORT] Correcting USB2_GetStartTime().

This commit is contained in:
Vadim Galyant 2017-12-09 15:00:04 +09:00 committed by Amine Khaldi
parent 7553e54199
commit 2be475db5d

View file

@ -251,13 +251,11 @@ USB2_GetStartTime(IN PUSB2_TT_ENDPOINT nextTtEndpoint,
TransferType = TtEndpoint->TtEndpointParams.TransferType;
if (nextTtEndpoint && TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
{
return nextTtEndpoint->StartTime + nextTtEndpoint->CalcBusTime;
}
if (TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
{
if (nextTtEndpoint)
return nextTtEndpoint->StartTime + nextTtEndpoint->CalcBusTime;
ttEndpoint = TtEndpoint->Tt->FrameBudget[Frame].AltEndpoint;
if (ttEndpoint)