Fix signalstate check in KGATE code; spotted by magey.
Modified: trunk/reactos/ntoskrnl/ke/gate.c
--- trunk/reactos/ntoskrnl/ke/gate.c 2005-09-23 15:46:10 UTC (rev 18016) +++ trunk/reactos/ntoskrnl/ke/gate.c 2005-09-23 16:31:06 UTC (rev 18017) @@ -47,7 +47,7 @@
OldIrql = KeAcquireDispatcherDatabaseLock(); /* Check if it's already signaled */
- if (!Gate->Header.SignalState)
+ if (Gate->Header.SignalState)
{ /* Unsignal it */ Gate->Header.SignalState = 0;