diff options
| author | 2020-02-16 23:37:23 +0000 | |
|---|---|---|
| committer | 2020-02-16 23:37:23 +0000 | |
| commit | fc9b224bbba62ffce9f79bff4aa452633f13a500 (patch) | |
| tree | 03ce6f60020c4b714ade16c86b0a3b6893869c50 | |
| parent | Tag "neighbor" and "group" keywords at their definitions (diff) | |
| download | wireguard-openbsd-fc9b224bbba62ffce9f79bff4aa452633f13a500.tar.xz wireguard-openbsd-fc9b224bbba62ffce9f79bff4aa452633f13a500.zip | |
Send a resume event to apmd(8), like done by apm(4) and acpi(4)
Test & ok visa@. Sadly his Lemote doesn't come back from sleep, with or
without this change.
| -rw-r--r-- | sys/arch/loongson/dev/apm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/loongson/dev/apm.c b/sys/arch/loongson/dev/apm.c index f768c63cced..38fd5a8c30e 100644 --- a/sys/arch/loongson/dev/apm.c +++ b/sys/arch/loongson/dev/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.33 2019/12/31 13:48:31 visa Exp $ */ +/* $OpenBSD: apm.c,v 1.34 2020/02/16 23:37:23 jca Exp $ */ /*- * Copyright (c) 2001 Alexander Guy. All rights reserved. @@ -434,5 +434,7 @@ apm_suspend(int state) wsdisplay_resume(); #endif + apm_record_event(APM_NORMAL_RESUME, "System", "resumed from sleep"); + return rv; } |
