- Do not assert on failed devices

- CORE-6794

svn path=/trunk/; revision=57794
This commit is contained in:
Johannes Anderwald 2012-12-04 04:34:12 +00:00
parent fe2efe05a0
commit 8fc6607c24

View file

@ -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