projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6af37fd
)
[USBPORT]
author
Thomas Faber
<thomas.faber@reactos.org>
Sat, 2 Sep 2017 08:59:52 +0000
(08:59 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sat, 2 Sep 2017 08:59:52 +0000
(08:59 +0000)
- Fix logic error: don't complete IRPs for which the cancel routine has been called.
svn path=/trunk/; revision=75736
reactos/drivers/usb/usbport/queue.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/usb/usbport/queue.c
b/reactos/drivers/usb/usbport/queue.c
index
3ef29a9
..
75f2f45
100644
(file)
--- a/
reactos/drivers/usb/usbport/queue.c
+++ b/
reactos/drivers/usb/usbport/queue.c
@@
-1042,7
+1042,7
@@
USBPORT_QueuePendingTransferIrp(IN PIRP Irp)
IoSetCancelRoutine(Irp, USBPORT_CancelPendingTransferIrp);
- if (Irp->Cancel &&
!
IoSetCancelRoutine(Irp, NULL))
+ if (Irp->Cancel && IoSetCancelRoutine(Irp, NULL))
{
USBPORT_CompleteTransfer(Urb, USBD_STATUS_CANCELED);
}