mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 23:32:14 +02:00
manager: split modem_suspend() into _pre() and _post() functions
This way we can make sure the AT commands are executed only once ModemManager has released the modem, preventing any race condition.
This commit is contained in:
@@ -51,7 +51,8 @@ struct EG25Manager {
|
||||
|
||||
void modem_configure(struct EG25Manager *data);
|
||||
void modem_reset(struct EG25Manager *data);
|
||||
void modem_suspend(struct EG25Manager *data);
|
||||
void modem_suspend_pre(struct EG25Manager *data);
|
||||
void modem_suspend_post(struct EG25Manager *data);
|
||||
void modem_resume_pre(struct EG25Manager *data);
|
||||
void modem_resume_post(struct EG25Manager *data);
|
||||
void modem_update_state(struct EG25Manager *data, MMModemState state);
|
||||
|
Reference in New Issue
Block a user