diff --git a/src/at.c b/src/at.c index cb79b10..327b394 100644 --- a/src/at.c +++ b/src/at.c @@ -146,8 +146,6 @@ gboolean at_send_command(struct EG25Manager *manager) } } else if (manager->modem_state == EG25_STATE_SUSPENDING) { modem_suspend_post(manager); - } else if (manager->modem_state == EG25_STATE_RESETTING) { - manager->modem_state = EG25_STATE_POWERED; } } diff --git a/src/manager.c b/src/manager.c index 7420c5f..1d578fd 100644 --- a/src/manager.c +++ b/src/manager.c @@ -271,7 +271,7 @@ error: at_sequence_reset(manager); // Setup timer for making sure we don't queue other reset commands - manager->complete_reset_timer = g_timeout_add_seconds(30, G_SOURCE_FUNC(modem_at_reset_done), manager); + manager->complete_reset_timer = g_timeout_add_seconds(45, G_SOURCE_FUNC(modem_at_reset_done), manager); return G_SOURCE_REMOVE; }