[USBPORT] Correcting USB2_DeallocateEndpointBudget().

This commit is contained in:
Vadim Galyant 2017-12-17 14:54:46 +09:00 committed by Amine Khaldi
parent bc9046c635
commit 57f092106a

View file

@ -1057,11 +1057,23 @@ USB2_DeallocateEndpointBudget(IN PUSB2_TT_ENDPOINT TtEndpoint,
PUSB2_TT Tt; PUSB2_TT Tt;
PUSB2_HC_EXTENSION HcExtension; PUSB2_HC_EXTENSION HcExtension;
ULONG Speed; ULONG Speed;
ULONG TransferType;
ULONG Frame;
ULONG StartMicroframe; ULONG StartMicroframe;
ULONG ix; ULONG ix;
PUSB2_TT_ENDPOINT endpoint;
PUSB2_TT_ENDPOINT nextEndpoint;
PUSB2_TT_ENDPOINT lastEndpoint;
PUSB2_TT_ENDPOINT tmpEndpoint;
ULONG endTime;
ULONG maxEndTime;
ULONG lastEndTime;
ULONG Factor;
ULONG jx;
UCHAR frame; UCHAR frame;
UCHAR uframe; UCHAR uframe;
USHORT Period;
BOOLEAN IsMoved = FALSE;
DPRINT("USB2_DeallocateEndpointBudget: TtEndpoint - %p, MaxFrames - %X\n", DPRINT("USB2_DeallocateEndpointBudget: TtEndpoint - %p, MaxFrames - %X\n",
TtEndpoint, TtEndpoint,