mirror of
https://github.com/nefarius/ViGEmBus.git
synced 2025-08-10 00:52:17 +00:00
Added missing queue lock
This commit is contained in:
@@ -372,8 +372,13 @@ NTSTATUS Bus_QueueNotification(WDFDEVICE Device, ULONG SerialNo, WDFREQUEST Requ
|
||||
|
||||
if (ds4Data == NULL) break;
|
||||
|
||||
WdfSpinLockAcquire(pdoData->PendingNotificationRequestsLock);
|
||||
status = WdfRequestForwardToIoQueue(Request, pdoData->PendingNotificationRequests);
|
||||
WdfSpinLockRelease(pdoData->PendingNotificationRequestsLock);
|
||||
|
||||
break;
|
||||
default:
|
||||
status = STATUS_NOT_SUPPORTED;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user