mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 00:28:56 +00:00
[HIDCLASS]
- Don't assert on initialization error svn path=/trunk/; revision=57807
This commit is contained in:
parent
fae75d1fc7
commit
704fb912be
|
@ -357,7 +357,13 @@ HidClassFDO_StartDevice(
|
||||||
//
|
//
|
||||||
IoSkipCurrentIrpStackLocation(Irp);
|
IoSkipCurrentIrpStackLocation(Irp);
|
||||||
Status = HidClassFDO_DispatchRequestSynchronous(DeviceObject, Irp);
|
Status = HidClassFDO_DispatchRequestSynchronous(DeviceObject, Irp);
|
||||||
ASSERT(Status == STATUS_SUCCESS);
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
DPRINT1("[HIDCLASS] Failed to start lower device with %x\n", Status);
|
||||||
|
Irp->IoStatus.Status = Status;
|
||||||
|
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||||
|
return Status;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// lets get the descriptors
|
// lets get the descriptors
|
||||||
|
|
Loading…
Reference in a new issue