mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
- Do not assert on failed devices
- CORE-6794 svn path=/trunk/; revision=57794
This commit is contained in:
parent
fe2efe05a0
commit
8fc6607c24
1 changed files with 8 additions and 6 deletions
|
@ -1508,18 +1508,20 @@ Hid_PnpStart(
|
|||
// select configuration
|
||||
//
|
||||
Status = Hid_SelectConfiguration(DeviceObject);
|
||||
ASSERT(Status == STATUS_SUCCESS);
|
||||
|
||||
//
|
||||
// done
|
||||
//
|
||||
DPRINT("[HIDUSB] SelectConfiguration %x\n", Status);
|
||||
|
||||
//
|
||||
// get protocol
|
||||
//
|
||||
Hid_GetProtocol(DeviceObject);
|
||||
return Status;
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
//
|
||||
// get protocol
|
||||
//
|
||||
Hid_GetProtocol(DeviceObject);
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue