From fd6a292a8f90bb5aba9f55936a4884f8693bd002 Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Fri, 11 Dec 2020 15:04:40 +0100 Subject: [PATCH] manager: don't change modem state after reset This makes sure the resume commands (disable URC cache and enable GPS) are executed. --- src/manager.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/manager.c b/src/manager.c index 2b466e3..739a8f0 100644 --- a/src/manager.c +++ b/src/manager.c @@ -126,7 +126,6 @@ void modem_reset(struct EG25Manager *manager) write(fd, manager->modem_usb_id, strlen(manager->modem_usb_id)); close(fd); - manager->modem_state = EG25_STATE_CONFIGURED; return; error: