manager: rename suspend_source to suspend_timer

This makes its role more explicit.
This commit is contained in:
Arnaud Ferraris
2020-12-18 01:38:27 +01:00
parent 62a07f9c51
commit 067c01b685
4 changed files with 12 additions and 12 deletions

View File

@@ -126,9 +126,9 @@ void modem_reset(struct EG25Manager *manager)
if (manager->reset_timer)
return;
if (manager->suspend_source) {
g_source_remove(manager->suspend_source);
manager->suspend_source = 0;
if (manager->suspend_timer) {
g_source_remove(manager->suspend_timer);
manager->suspend_timer = 0;
}
manager->modem_state = EG25_STATE_RESETTING;