diff options
| author | 5an7y-Microsoft <[email protected]> | 2025-09-25 13:25:09 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-25 13:25:09 -0700 |
| commit | 9ca0b0d395a55740b261c834df79eb9344e5bc56 (patch) | |
| tree | 8029e624d93cf3b21d4345714e4dd967bbc81938 | |
| parent | ac36f023d892cd68f8ceb6dfe113e88056ef169a (diff) | |
| parent | 334d7aa496b878e79743c9eb8e7fee88bbf38fc7 (diff) | |
Merge pull request #1327 from microsoft/develop
RI: Develop -> Main WDK 6584
| -rw-r--r-- | serial/serial/ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serial/serial/ioctl.c b/serial/serial/ioctl.c index 192f3955..c571334b 100644 --- a/serial/serial/ioctl.c +++ b/serial/serial/ioctl.c @@ -2032,7 +2032,7 @@ Return Value: // // Override the default settings from allow user control to do not allow. // - wakeSettings.UserControlOfWakeSettings = IdleDoNotAllowUserControl; + wakeSettings.UserControlOfWakeSettings = WakeDoNotAllowUserControl; status = WdfDeviceAssignSxWakeSettings(pDevExt->WdfDevice, &wakeSettings); if (!NT_SUCCESS(status)) { SerialDbgPrintEx(TRACE_LEVEL_ERROR, DBG_PNP, "WdfDeviceAssignSxWakeSettings failed %x \n", status); @@ -2050,7 +2050,7 @@ Return Value: // Override the default settings. // wakeSettings.Enabled = WdfFalse; // Disables wait-wake - wakeSettings.UserControlOfWakeSettings = IdleDoNotAllowUserControl; + wakeSettings.UserControlOfWakeSettings = WakeDoNotAllowUserControl; status = WdfDeviceAssignSxWakeSettings(pDevExt->WdfDevice, &wakeSettings); if (!NT_SUCCESS(status)) { SerialDbgPrintEx(TRACE_LEVEL_ERROR, DBG_PNP, "WdfDeviceAssignSxWakeSettings failed %x \n", status); |
