From f3825f869344cb80a07e495fb5dfa8fb81f54f20 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 11 Aug 2024 17:30:28 +0000 Subject: [PATCH] delete correct ACPI_SST_WAKING, pointed out by kettenis --- sys/dev/acpi/acpi_x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }