https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5a43c52bbbe600063097a…
commit 5a43c52bbbe600063097a84134785b227f61d260
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sat Feb 1 13:06:15 2020 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sat Feb 8 13:07:34 2020 +0100
[PORTCLS] Return STATUS_PENDING after calling IoMarkIrpPending. CORE-16611
---
drivers/wdm/audio/backpln/portcls/irp.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/wdm/audio/backpln/portcls/irp.cpp
b/drivers/wdm/audio/backpln/portcls/irp.cpp
index c1708c416c6..be4f008e655 100644
--- a/drivers/wdm/audio/backpln/portcls/irp.cpp
+++ b/drivers/wdm/audio/backpln/portcls/irp.cpp
@@ -325,7 +325,7 @@ PortClsPower(
IoCompleteRequest(Irp, IO_NO_INCREMENT);
// done
- return Status;
+ return STATUS_PENDING;
}
// setup power context
@@ -344,7 +344,7 @@ PortClsPower(
IoCompleteRequest(Irp, IO_NO_INCREMENT);
// done
- return Status;
+ return STATUS_PENDING;
}
// done