mirror of
https://github.com/sailfishos/ofono
synced 2025-12-02 07:31:04 +08:00
phonesim: Fix multiplexer setup handling and modem power
This commit is contained in:
@@ -248,9 +248,14 @@ static int phonesim_enable(struct ofono_modem *modem)
|
||||
}
|
||||
|
||||
if (data->use_mux) {
|
||||
g_at_chat_send(data->chat, "ATE0", NULL, NULL, NULL, NULL);
|
||||
|
||||
g_at_mux_setup_gsm0710(data->chat, mux_setup, modem, NULL);
|
||||
|
||||
g_at_chat_unref(data->chat);
|
||||
data->chat = NULL;
|
||||
|
||||
return -EINPROGRESS;
|
||||
}
|
||||
|
||||
g_at_chat_send(data->chat, "AT+CSCS=\"GSM\"", none_prefix,
|
||||
|
||||
Reference in New Issue
Block a user