suspend: increase modem detection delay by 1s

Sometimes it takes just a little bit longer than usual, so this avoids 
unnecessary modem recovery.
This commit is contained in:
Arnaud Ferraris
2020-12-18 00:35:32 +01:00
parent fdbc2cfa69
commit c39000bf93

View File

@@ -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);
}
}