mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[LIBUSB]
- Correctly fail IRP_MN_START_DEVICE if PnpStart failed. Spotted by Vadim Galyant. CORE-11929 #resolve svn path=/trunk/; revision=72683
This commit is contained in:
parent
a2d24bde65
commit
b64b5f76db
1 changed files with 7 additions and 4 deletions
|
@ -417,11 +417,14 @@ CHCDController::HandlePnp(
|
||||||
Status = m_Hardware->PnpStart(RawResourceList, TranslatedResourceList);
|
Status = m_Hardware->PnpStart(RawResourceList, TranslatedResourceList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
//
|
//
|
||||||
// enable symbolic link
|
// enable symbolic link
|
||||||
//
|
//
|
||||||
Status = SetSymbolicLink(TRUE);
|
Status = SetSymbolicLink(TRUE);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
DPRINT("[%s] HandlePnp IRP_MN_START FDO: Status %x\n", m_USBType ,Status);
|
DPRINT("[%s] HandlePnp IRP_MN_START FDO: Status %x\n", m_USBType ,Status);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue