mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +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->MinorFunction);
|
||||
|
||||
Irp->IoStatus.Status = Status;
|
||||
Status = Irp->IoStatus.Status;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue