Author: tfaber
Date: Sun Apr 2 14:41:17 2017
New Revision: 74267
URL:
http://svn.reactos.org/svn/reactos?rev=74267&view=rev
Log:
[NTOS:PNP]
- Silence debug prints about unhandled IRP_MN_QUERY_PNP_DEVICE_STATE
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] Sun Apr 2 14:41:17 2017
@@ -4126,7 +4126,10 @@
Status = IopSynchronousCall(PhysicalDeviceObject, &Stack,
(PVOID*)&PnPFlags);
if (!NT_SUCCESS(Status))
{
- DPRINT1("IRP_MN_QUERY_PNP_DEVICE_STATE failed with status 0x%x\n",
Status);
+ if (Status != STATUS_NOT_SUPPORTED)
+ {
+ DPRINT1("IRP_MN_QUERY_PNP_DEVICE_STATE failed with status 0x%lx\n",
Status);
+ }
return;
}