mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[USBPORT]
- Fix logic error: don't complete IRPs for which the cancel routine has been called. svn path=/trunk/; revision=75736
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user