diff options
| author | Jose Santiago Vales Mena <[email protected]> | 2025-09-29 14:21:13 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-29 14:21:13 -0700 |
| commit | 9014cc397cb44ec5530bd27dec14d7c2e490498b (patch) | |
| tree | afc30f9c8cc92fa1705b936be35148e26651f8bf /serial | |
| parent | a0d6b25283bcde2dd8be1ccf40ccec9040d79676 (diff) | |
| parent | 9ca0b0d395a55740b261c834df79eb9344e5bc56 (diff) | |
Merge branch 'microsoft:main' into main
Diffstat (limited to 'serial')
| -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); |
