manager: don't change modem state after reset

This makes sure the resume commands (disable URC cache and enable GPS)
are executed.
This commit is contained in:
Arnaud Ferraris
2020-12-11 15:04:40 +01:00
parent 5fa345ec92
commit fd6a292a8f

View File

@@ -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: