https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a0296dd3dea0b7fa59564…
commit a0296dd3dea0b7fa5956484c7e9a2776ce08acc7
Author: Vadim Galyant <vgal(a)rambler.ru>
AuthorDate: Wed Jan 10 18:58:44 2018 +0100
[USBPORT] In USBHI_GetExtendedHubInformation, pass the correct port index to
RH_GetPortStatus.
---
drivers/usb/usbport/iface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/usbport/iface.c b/drivers/usb/usbport/iface.c
index 4e56811eb7..7897528da6 100644
--- a/drivers/usb/usbport/iface.c
+++ b/drivers/usb/usbport/iface.c
@@ -476,7 +476,7 @@ USBHI_GetExtendedHubInformation(IN PVOID BusContext,
HubInfoBuffer->Port[ix].PortAttributes = USB_PORTATTR_SHARED_USB2;
Packet->RH_GetPortStatus(FdoExtension->MiniPortExt,
- ix,
+ ix + 1,
&PortStatus);
if (PortStatus.PortStatus.Usb20PortStatus.AsUshort16 & 0x8000)