Author: janderwald
Date: Tue Oct 18 14:00:20 2011
New Revision: 54190
URL:
http://svn.reactos.org/svn/reactos?rev=54190&view=rev
Log:
[PORTCLS]
- Don't modify status code of irps which are not handled
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/irp.cpp
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/irp.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/irp.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/irp.cpp [iso-8859-1] Tue Oct 18
14:00:20 2011
@@ -159,10 +159,9 @@
}
DPRINT("unhandled function %u\n", IoStack->MinorFunction);
-
- Irp->IoStatus.Status = STATUS_UNSUCCESSFUL;
+ Status = Irp->IoStatus.Status;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
- return STATUS_UNSUCCESSFUL;
+ return Status;
}
VOID