[RDBSS] Fix a typo
authorPierre Schweitzer <pierre@reactos.org>
Sat, 24 Nov 2018 21:00:09 +0000 (22:00 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 24 Nov 2018 21:00:09 +0000 (22:00 +0100)
Spotted by Herm├Ęs

sdk/lib/drivers/rdbsslib/rdbss.c

index 5cf02a1..8822d03 100644 (file)
@@ -8445,7 +8445,7 @@ RxRemoveOverflowEntry(
         /* Return head */
         Entry = RemoveHeadList(&DeviceObject->OverflowQueue[Queue]);
         Context = CONTAINING_RECORD(Entry, RX_CONTEXT, OverflowListEntry);
-        ClearFlag(Context->Flags, ~(RX_CONTEXT_FLAG_FSP_DELAYED_OVERFLOW_QUEUE | RX_CONTEXT_FLAG_FSP_CRITICAL_OVERFLOW_QUEUE));
+        ClearFlag(Context->Flags, (RX_CONTEXT_FLAG_FSP_DELAYED_OVERFLOW_QUEUE | RX_CONTEXT_FLAG_FSP_CRITICAL_OVERFLOW_QUEUE));
         Context->OverflowListEntry.Flink = NULL;
     }
     KeReleaseSpinLock(&DeviceObject->OverflowQueueSpinLock, OldIrql);