mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[USBPORT] In USBHI_GetExtendedHubInformation, pass the correct port index to RH_GetPortStatus.
This commit is contained in:
parent
c0f157e589
commit
a0296dd3de
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ USBHI_GetExtendedHubInformation(IN PVOID BusContext,
|
||||||
HubInfoBuffer->Port[ix].PortAttributes = USB_PORTATTR_SHARED_USB2;
|
HubInfoBuffer->Port[ix].PortAttributes = USB_PORTATTR_SHARED_USB2;
|
||||||
|
|
||||||
Packet->RH_GetPortStatus(FdoExtension->MiniPortExt,
|
Packet->RH_GetPortStatus(FdoExtension->MiniPortExt,
|
||||||
ix,
|
ix + 1,
|
||||||
&PortStatus);
|
&PortStatus);
|
||||||
|
|
||||||
if (PortStatus.PortStatus.Usb20PortStatus.AsUshort16 & 0x8000)
|
if (PortStatus.PortStatus.Usb20PortStatus.AsUshort16 & 0x8000)
|
||||||
|
|
Loading…
Reference in a new issue