Skip to content

Commit 9ca0b0d

Browse files
Merge pull request #1327 from microsoft/develop
RI: Develop -> Main WDK 6584
2 parents ac36f02 + 334d7aa commit 9ca0b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serial/serial/ioctl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,7 +2032,7 @@ Return Value:
20322032
//
20332033
// Override the default settings from allow user control to do not allow.
20342034
//
2035-
wakeSettings.UserControlOfWakeSettings = IdleDoNotAllowUserControl;
2035+
wakeSettings.UserControlOfWakeSettings = WakeDoNotAllowUserControl;
20362036
status = WdfDeviceAssignSxWakeSettings(pDevExt->WdfDevice, &wakeSettings);
20372037
if (!NT_SUCCESS(status)) {
20382038
SerialDbgPrintEx(TRACE_LEVEL_ERROR, DBG_PNP, "WdfDeviceAssignSxWakeSettings failed %x \n", status);
@@ -2050,7 +2050,7 @@ Return Value:
20502050
// Override the default settings.
20512051
//
20522052
wakeSettings.Enabled = WdfFalse; // Disables wait-wake
2053-
wakeSettings.UserControlOfWakeSettings = IdleDoNotAllowUserControl;
2053+
wakeSettings.UserControlOfWakeSettings = WakeDoNotAllowUserControl;
20542054
status = WdfDeviceAssignSxWakeSettings(pDevExt->WdfDevice, &wakeSettings);
20552055
if (!NT_SUCCESS(status)) {
20562056
SerialDbgPrintEx(TRACE_LEVEL_ERROR, DBG_PNP, "WdfDeviceAssignSxWakeSettings failed %x \n", status);

0 commit comments

Comments
 (0)