projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7553e54
)
[USBPORT] Correcting USB2_GetStartTime().
author
Vadim Galyant
<vgal@rambler.ru>
Sat, 9 Dec 2017 06:00:04 +0000
(15:00 +0900)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sun, 21 Jan 2018 18:35:48 +0000
(19:35 +0100)
drivers/usb/usbport/usb2.c
patch
|
blob
|
history
diff --git
a/drivers/usb/usbport/usb2.c
b/drivers/usb/usbport/usb2.c
index
1811b54
..
edc91c1
100644
(file)
--- a/
drivers/usb/usbport/usb2.c
+++ b/
drivers/usb/usbport/usb2.c
@@
-251,13
+251,11
@@
USB2_GetStartTime(IN PUSB2_TT_ENDPOINT nextTtEndpoint,
TransferType = TtEndpoint->TtEndpointParams.TransferType;
TransferType = TtEndpoint->TtEndpointParams.TransferType;
- if (nextTtEndpoint && TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
- {
- return nextTtEndpoint->StartTime + nextTtEndpoint->CalcBusTime;
- }
-
if (TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
{
if (TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
{
+ if (nextTtEndpoint)
+ return nextTtEndpoint->StartTime + nextTtEndpoint->CalcBusTime;
+
ttEndpoint = TtEndpoint->Tt->FrameBudget[Frame].AltEndpoint;
if (ttEndpoint)
ttEndpoint = TtEndpoint->Tt->FrameBudget[Frame].AltEndpoint;
if (ttEndpoint)