- 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,18 +1508,20 @@ 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 {
// //
Hid_GetProtocol(DeviceObject); // get protocol
return Status; //
Hid_GetProtocol(DeviceObject);
return Status;
}
} }
// //