From: deraadt Date: Sun, 11 Aug 2024 17:30:28 +0000 (+0000) Subject: delete correct ACPI_SST_WAKING, pointed out by kettenis X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f3825f869344cb80a07e495fb5dfa8fb81f54f20;p=openbsd delete correct ACPI_SST_WAKING, pointed out by kettenis --- 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; }