mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 03:33:02 +00:00
[USBHUB_NEW]
- Remove the hacky way of determining if a device connect occurred (prone to all sorts of race conditions) and just always create a device since the only reason we reset right now is for a device connect svn path=/branches/usb-bringup-trunk/; revision=55186
This commit is contained in:
parent
23f71216c4
commit
bbd84c4171
1 changed files with 2 additions and 6 deletions
|
@ -402,15 +402,11 @@ DeviceStatusChangeThread(
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Create the device object only if the port manipulation was started by a device connect
|
// This is a new device
|
||||||
//
|
//
|
||||||
if (HubDeviceExtension->PortStatusChange[PortId-1].Status)
|
|
||||||
{
|
|
||||||
HubDeviceExtension->PortStatusChange[PortId-1].Status = 0;
|
|
||||||
Status = CreateUsbChildDeviceObject(DeviceObject, PortId, NULL);
|
Status = CreateUsbChildDeviceObject(DeviceObject, PortId, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// FIXME: Still in testing
|
// FIXME: Still in testing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue