mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +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,19 +1508,21 @@ Hid_PnpStart(
|
||||||
// select configuration
|
// select configuration
|
||||||
//
|
//
|
||||||
Status = Hid_SelectConfiguration(DeviceObject);
|
Status = Hid_SelectConfiguration(DeviceObject);
|
||||||
ASSERT(Status == STATUS_SUCCESS);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// done
|
// done
|
||||||
//
|
//
|
||||||
DPRINT("[HIDUSB] SelectConfiguration %x\n", Status);
|
DPRINT("[HIDUSB] SelectConfiguration %x\n", Status);
|
||||||
|
|
||||||
|
if (NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
//
|
//
|
||||||
// get protocol
|
// get protocol
|
||||||
//
|
//
|
||||||
Hid_GetProtocol(DeviceObject);
|
Hid_GetProtocol(DeviceObject);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// FIXME parse hid descriptor
|
// FIXME parse hid descriptor
|
||||||
|
|
Loading…
Reference in a new issue