mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 07:05:12 +00:00
[USBOHCI]
- Fix indication of USB_PORT_STATUS_RESET changes - Fixes premature completion of resets causing assertions to fail svn path=/trunk/; revision=55792
This commit is contained in:
parent
0bbab987c0
commit
b43c3d21c0
|
@ -1185,14 +1185,11 @@ CUSBHardwareDevice::GetPortStatus(
|
||||||
if (Value & OHCI_RH_PORTSTATUS_PSSC)
|
if (Value & OHCI_RH_PORTSTATUS_PSSC)
|
||||||
*PortChange |= USB_PORT_STATUS_ENABLE;
|
*PortChange |= USB_PORT_STATUS_ENABLE;
|
||||||
|
|
||||||
// port reset started (change bit only set at completion)
|
// port reset started
|
||||||
if (Value & OHCI_RH_PORTSTATUS_PRS)
|
if (Value & OHCI_RH_PORTSTATUS_PRS)
|
||||||
{
|
|
||||||
*PortStatus |= USB_PORT_STATUS_RESET;
|
*PortStatus |= USB_PORT_STATUS_RESET;
|
||||||
*PortChange |= USB_PORT_STATUS_RESET;
|
|
||||||
}
|
|
||||||
|
|
||||||
// port reset ended (change bit only set at completion)
|
// port reset ended
|
||||||
if (Value & OHCI_RH_PORTSTATUS_PRSC)
|
if (Value & OHCI_RH_PORTSTATUS_PRSC)
|
||||||
*PortChange |= USB_PORT_STATUS_RESET;
|
*PortChange |= USB_PORT_STATUS_RESET;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue