mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[USBHUB] Correcting L"USB\\Vid_0000&Pid_0000" for case BusQueryDeviceID in USBH_PdoQueryId() if INIT_PORT_FAILED.
This commit is contained in:
parent
789881672a
commit
86af8d49fb
1 changed files with 6 additions and 1 deletions
|
@ -1576,12 +1576,13 @@ USBH_PdoQueryId(IN PUSBHUB_PORT_PDO_EXTENSION PortExtension,
|
|||
|
||||
if (PortExtension->PortPdoFlags & USBHUB_PDO_FLAG_INIT_PORT_FAILED)
|
||||
{
|
||||
DPRINT("USBH_PdoQueryId: USBHUB_PDO_FLAG_INIT_PORT_FAILED\n");
|
||||
RtlStringCbPrintfExW(Buffer,
|
||||
Remaining,
|
||||
NULL,
|
||||
&Remaining,
|
||||
0,
|
||||
L"USB\\Vid_0000&Pid0000");
|
||||
L"USB\\Vid_0000&Pid_0000");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1613,6 +1614,8 @@ USBH_PdoQueryId(IN PUSBHUB_PORT_PDO_EXTENSION PortExtension,
|
|||
|
||||
if (PortExtension->PortPdoFlags & USBHUB_PDO_FLAG_INIT_PORT_FAILED)
|
||||
{
|
||||
DPRINT("USBH_PdoQueryId: USBHUB_PDO_FLAG_INIT_PORT_FAILED\n");
|
||||
|
||||
RtlStringCbPrintfExW(Buffer,
|
||||
Remaining,
|
||||
NULL,
|
||||
|
@ -1672,6 +1675,8 @@ USBH_PdoQueryId(IN PUSBHUB_PORT_PDO_EXTENSION PortExtension,
|
|||
|
||||
if (PortExtension->PortPdoFlags & USBHUB_PDO_FLAG_INIT_PORT_FAILED)
|
||||
{
|
||||
DPRINT("USBH_PdoQueryId: USBHUB_PDO_FLAG_INIT_PORT_FAILED\n");
|
||||
|
||||
RtlStringCbPrintfExW(Buffer,
|
||||
Remaining,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in a new issue