Author: tfaber
Date: Sat Sep 2 08:59:52 2017
New Revision: 75736
URL:
http://svn.reactos.org/svn/reactos?rev=75736&view=rev
Log:
[USBPORT]
- Fix logic error: don't complete IRPs for which the cancel routine has been called.
Modified:
trunk/reactos/drivers/usb/usbport/queue.c
Modified: trunk/reactos/drivers/usb/usbport/queue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbport/queue.…
==============================================================================
--- trunk/reactos/drivers/usb/usbport/queue.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbport/queue.c [iso-8859-1] Sat Sep 2 08:59:52 2017
@@ -1042,7 +1042,7 @@
IoSetCancelRoutine(Irp, USBPORT_CancelPendingTransferIrp);
- if (Irp->Cancel && !IoSetCancelRoutine(Irp, NULL))
+ if (Irp->Cancel && IoSetCancelRoutine(Irp, NULL))
{
USBPORT_CompleteTransfer(Urb, USBD_STATUS_CANCELED);
}