[USBPORT] Fixing use DeviceSpeed instead Direction.

This commit is contained in:
Vadim Galyant 2018-01-17 14:22:49 +09:00 committed by Amine Khaldi
parent a4dee8e3ac
commit 797ebcab72

View file

@ -127,7 +127,7 @@ USB2_GetOverhead(IN PUSB2_TT_ENDPOINT TtEndpoint)
TransferType = TtEndpoint->TtEndpointParams.TransferType;
Direction = TtEndpoint->TtEndpointParams.Direction;
DeviceSpeed = TtEndpoint->TtEndpointParams.Direction;
DeviceSpeed = TtEndpoint->TtEndpointParams.DeviceSpeed;
HostDelay = TtEndpoint->Tt->HcExtension->HcDelayTime;