mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[HIDCLASS]
- Don't assert on initialization error svn path=/trunk/; revision=57807
This commit is contained in:
parent
fae75d1fc7
commit
704fb912be
1 changed files with 7 additions and 1 deletions
|
@ -357,7 +357,13 @@ HidClassFDO_StartDevice(
|
|||
//
|
||||
IoSkipCurrentIrpStackLocation(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
|
||||
|
|
Loading…
Reference in a new issue