mirror of
https://github.com/reactos/reactos.git
synced 2024-08-03 18:10:54 +00:00
[USBCCGP]: FDO_HandleResetCyclePort should complete the pending IRPs, not the reset IRP. In fact, since the caller (FDO_HandleInternalDeviceControl) already completes the reset IRP, this was also causing double IRP completion. THIS IS WHY GCC 4.7 WARNINGS ARE IMPORTANT.
svn path=/trunk/; revision=59526
This commit is contained in:
parent
7cf03fb58d
commit
d27393f669
|
@ -536,8 +536,8 @@ FDO_HandleResetCyclePort(
|
||||||
ListIrp = (PIRP)CONTAINING_RECORD(Entry, IRP, Tail.Overlay.ListEntry);
|
ListIrp = (PIRP)CONTAINING_RECORD(Entry, IRP, Tail.Overlay.ListEntry);
|
||||||
|
|
||||||
/* Complete request with status success */
|
/* Complete request with status success */
|
||||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
ListIrp->IoStatus.Status = STATUS_SUCCESS;
|
||||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
IoCompleteRequest(ListIrp, IO_NO_INCREMENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Status success */
|
/* Status success */
|
||||||
|
|
Loading…
Reference in a new issue