projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e10e6a8
)
[USBPORT] Don't change the status of IRP_MJ_SYSTEM_CONTROL requests.
author
Thomas Faber
<thomas.faber@reactos.org>
Tue, 5 Mar 2019 16:28:20 +0000
(17:28 +0100)
committer
Thomas Faber
<thomas.faber@reactos.org>
Mon, 11 Mar 2019 07:53:47 +0000
(08:53 +0100)
Found by Driver Verifier.
drivers/usb/usbport/usbport.c
patch
|
blob
|
history
diff --git
a/drivers/usb/usbport/usbport.c
b/drivers/usb/usbport/usbport.c
index
f37adb8
..
226bc68
100644
(file)
--- a/
drivers/usb/usbport/usbport.c
+++ b/
drivers/usb/usbport/usbport.c
@@
-2711,7
+2711,7
@@
USBPORT_Dispatch(IN PDEVICE_OBJECT DeviceObject,
IoStack->MajorFunction,
IoStack->MinorFunction);
IoStack->MajorFunction,
IoStack->MinorFunction);
-
Irp->IoStatus.Status =
Status;
+
Status = Irp->IoStatus.
Status;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
}
else
IoCompleteRequest(Irp, IO_NO_INCREMENT);
}
else