[DRIVERS] Use KeClearEvent instead of KeResetEvent where the previous state is not...
[reactos.git] / drivers / wdm / audio / legacy / stream / pnp.c
index 67f1878..b8814cd 100644 (file)
@@ -413,7 +413,7 @@ StreamClassStartDevice(
     /* Setup get stream info struct */
     RequestBlock->Block.Command = SRB_GET_STREAM_INFO;
     RequestBlock->Block.CommandData.StreamBuffer = StreamDescriptor;
-    KeResetEvent(&RequestBlock->Event);
+    KeClearEvent(&RequestBlock->Event);
 
     /* send the request */
     DriverObjectExtension->Data.HwReceivePacket((PHW_STREAM_REQUEST_BLOCK)RequestBlock);