mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use the acpi_event_sleep_button_sleep() function instead of
the acpi_SetSleepState(). Submitted by: njl
This commit is contained in:
parent
0d5c337bef
commit
d6da5e88de
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ acpi_panasonic_hkey_action(struct acpi_panasonic_softc *sc, ACPI_HANDLE h,
|
|||
break;
|
||||
case 7:
|
||||
/* Suspend. */
|
||||
acpi_SetSleepState(acpi_sc, ACPI_STATE_S3);
|
||||
acpi_event_sleep_button_sleep(acpi_sc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue