File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments