[KMTESTS] Use KeClearEvent instead of KeResetEvent where the previous state is not...
[reactos.git] / modules / rostests / kmtests / npfs / NpfsHelpers.c
index ec0d366..0086499 100644 (file)
@@ -709,7 +709,7 @@ TriggerWork(
                                    FALSE,
                                    NULL);
     ok_eq_hex(Status, STATUS_SUCCESS);
-    KeResetEvent(&Context->WorkCompleteEvent);
+    KeClearEvent(&Context->WorkCompleteEvent);
     KeSetEvent(&Context->StartWorkEvent, IO_NO_INCREMENT, TRUE);
     return WaitForWork(Context, MilliSeconds);
 }