suspend: make timeouts configurable

Instead of fixed values, the modem boot timeout and recovery timeout are now
(optional) config values.
This commit is contained in:
Arnaud Ferraris
2021-02-20 15:36:09 +01:00
parent 433982e4f7
commit f276d9cf9e
2 changed files with 22 additions and 4 deletions

View File

@@ -51,7 +51,9 @@ struct EG25Manager {
int suspend_block_fd;
guint modem_recovery_timer;
guint modem_recovery_timeout;
guint modem_boot_timer;
guint modem_boot_timeout;
GUdevClient *udev;