[NTOS:PNP] Misc IoInvalidateDeviceState fixes
[reactos.git] / ntoskrnl / io / pnpmgr / pnpirp.c
index 952150b..4a6a50c 100644 (file)
@@ -288,8 +288,7 @@ PiIrpQueryPnPDeviceState(
     PAGED_CODE();
 
     ASSERT(DeviceNode);
-    ASSERT(DeviceNode->State == DeviceNodeResourcesAssigned ||
-           DeviceNode->State == DeviceNodeStartPostWork ||
+    ASSERT(DeviceNode->State == DeviceNodeStartPostWork ||
            DeviceNode->State == DeviceNodeStarted);
 
     ULONG_PTR longState;