diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-08-11 17:30:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-08-11 17:30:29 +0000 |
commit | 0c1534dc7a56a8d05d2491bc8762e0dc4c385b90 (patch) | |
tree | d8657acad45441e478173a439252fe050e6e8a77 /sys/dev | |
parent | 26825a9eaa696b9cd0238bdb598417e6f6237424 (diff) |
delete correct ACPI_SST_WAKING, pointed out by kettenis
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpi/acpi_x86.c | 4 |
1 files 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 <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -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; } |