mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:55:41 +00:00
[USBPORT] Don't change the status of IRP_MJ_SYSTEM_CONTROL requests.
Found by Driver Verifier.
This commit is contained in:
parent
e10e6a85fb
commit
12a66769fc
1 changed files with 1 additions and 1 deletions
|
@ -2711,7 +2711,7 @@ USBPORT_Dispatch(IN PDEVICE_OBJECT DeviceObject,
|
||||||
IoStack->MajorFunction,
|
IoStack->MajorFunction,
|
||||||
IoStack->MinorFunction);
|
IoStack->MinorFunction);
|
||||||
|
|
||||||
Irp->IoStatus.Status = Status;
|
Status = Irp->IoStatus.Status;
|
||||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue