mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +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
1 changed files with 2 additions and 2 deletions
|
@ -536,8 +536,8 @@ FDO_HandleResetCyclePort(
|
|||
ListIrp = (PIRP)CONTAINING_RECORD(Entry, IRP, Tail.Overlay.ListEntry);
|
||||
|
||||
/* Complete request with status success */
|
||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
ListIrp->IoStatus.Status = STATUS_SUCCESS;
|
||||
IoCompleteRequest(ListIrp, IO_NO_INCREMENT);
|
||||
}
|
||||
|
||||
/* Status success */
|
||||
|
|
Loading…
Reference in a new issue