diff options
author | Rukun Mao <rmao@google.com> | 2022-05-13 20:43:32 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-06-09 08:32:13 +0000 |
commit | 3da84c207902b65b7b6a2de9c497966844f87dd9 (patch) | |
tree | 17c915338e26082af27f82fc95bc394bb3911d8a /src/mm-context.c | |
parent | ac06052b97cc02e60ae1ed7a551727b3c14d6a22 (diff) |
suspend: add suspend/resume support with powerd on ChromeOS
ModemManager handles suspend and resume signals sent from powerd
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/547
Diffstat (limited to 'src/mm-context.c')
-rw-r--r-- | src/mm-context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mm-context.c b/src/mm-context.c index 37793e5a..ecb409bb 100644 --- a/src/mm-context.c +++ b/src/mm-context.c @@ -231,7 +231,7 @@ static gchar *test_plugin_dir; #if defined WITH_UDEV static gboolean test_no_udev; #endif -#if defined WITH_SYSTEMD_SUSPEND_RESUME +#if defined WITH_SUSPEND_RESUME static gboolean test_no_suspend_resume; static gboolean test_quick_suspend_resume; #endif @@ -266,7 +266,7 @@ static const GOptionEntry test_entries[] = { NULL }, #endif -#if defined WITH_SYSTEMD_SUSPEND_RESUME +#if defined WITH_SUSPEND_RESUME { "test-no-suspend-resume", 0, 0, G_OPTION_ARG_NONE, &test_no_suspend_resume, "Disable suspend/resume support at runtime even if available", @@ -340,7 +340,7 @@ mm_context_get_test_no_udev (void) } #endif -#if defined WITH_SYSTEMD_SUSPEND_RESUME +#if defined WITH_SUSPEND_RESUME gboolean mm_context_get_test_no_suspend_resume (void) { |