From c39000bf93f5123c0935115444f10ab86af852e8 Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Fri, 18 Dec 2020 00:35:32 +0100 Subject: [PATCH] suspend: increase modem detection delay by 1s Sometimes it takes just a little bit longer than usual, so this avoids unnecessary modem recovery. --- src/suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/suspend.c b/src/suspend.c index 54c4b6a..c15bdd0 100644 --- a/src/suspend.c +++ b/src/suspend.c @@ -99,7 +99,7 @@ static void signal_cb(GDBusProxy *proxy, take_inhibitor(manager); modem_resume_pre(manager); manager->modem_state = EG25_STATE_RESUMING; - manager->suspend_source = g_timeout_add_seconds(8, G_SOURCE_FUNC(check_modem_resume), manager); + manager->suspend_source = g_timeout_add_seconds(9, G_SOURCE_FUNC(check_modem_resume), manager); } }