summaryrefslogtreecommitdiff
path: root/serial
diff options
context:
space:
mode:
authorJose Santiago Vales Mena <[email protected]>2025-09-29 14:21:13 -0700
committerGitHub <[email protected]>2025-09-29 14:21:13 -0700
commit9014cc397cb44ec5530bd27dec14d7c2e490498b (patch)
treeafc30f9c8cc92fa1705b936be35148e26651f8bf /serial
parenta0d6b25283bcde2dd8be1ccf40ccec9040d79676 (diff)
parent9ca0b0d395a55740b261c834df79eb9344e5bc56 (diff)
Merge branch 'microsoft:main' into main
Diffstat (limited to 'serial')
-rw-r--r--serial/serial/ioctl.c4
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);