diff --git a/sys/dev/acpi/acpi_x86.c b/sys/dev/acpi/acpi_x86.c index a5733e2373b..e44ea352672 100644 --- a/sys/dev/acpi/acpi_x86.c +++ b/sys/dev/acpi/acpi_x86.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi_x86.c,v 1.28 2024/08/11 05:28:02 deraadt Exp $ */ +/* $OpenBSD: acpi_x86.c,v 1.29 2024/08/11 17:30:28 deraadt Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * Copyright (c) 2005 Jordan Hargrave @@ -66,6 +66,7 @@ sleep_showstate(void *v, int sleepmode) if (aml_node_setval(sc, sc->sc_tts, sc->sc_state) != 0) return (EINVAL); } + acpi_indicator(sc, ACPI_SST_WAKING); /* blink */ return 0; } @@ -79,7 +80,6 @@ sleep_setstate(void *v) if (aml_node_setval(sc, sc->sc_pts, sc->sc_state) != 0) return (EINVAL); } - acpi_indicator(sc, ACPI_SST_WAKING); /* blink */ return 0; }