From 57f092106a86643726140a60cb2e217d2496c816 Mon Sep 17 00:00:00 2001 From: Vadim Galyant Date: Sun, 17 Dec 2017 14:54:46 +0900 Subject: [PATCH] [USBPORT] Correcting USB2_DeallocateEndpointBudget(). --- drivers/usb/usbport/usb2.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/usb/usbport/usb2.c b/drivers/usb/usbport/usb2.c index cfaf122fba1..c0a218b8672 100644 --- a/drivers/usb/usbport/usb2.c +++ b/drivers/usb/usbport/usb2.c @@ -1057,11 +1057,23 @@ USB2_DeallocateEndpointBudget(IN PUSB2_TT_ENDPOINT TtEndpoint, PUSB2_TT Tt; PUSB2_HC_EXTENSION HcExtension; ULONG Speed; + ULONG TransferType; + ULONG Frame; ULONG StartMicroframe; 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 uframe; + USHORT Period; + BOOLEAN IsMoved = FALSE; DPRINT("USB2_DeallocateEndpointBudget: TtEndpoint - %p, MaxFrames - %X\n", TtEndpoint,