[USBHUB] Set the Removable flag for all ports of a USB hub

This commit is contained in:
Eric Kohl 2020-03-21 13:12:53 +01:00
parent 7b1e28e724
commit bac4e185fb

View file

@ -2704,6 +2704,9 @@ USBH_PdoPnP(IN PUSBHUB_PORT_PDO_EXTENSION PortExtension,
DeviceCapabilities->Size = Size;
DeviceCapabilities->Version = Version;
/* All devices connected to a hub are removable */
DeviceCapabilities->Removable = 1;
Status = STATUS_SUCCESS;
break;