mirror of git://git.sysmocom.de/ofono
phonesim: Fix multiplexer setup handling and modem power
This commit is contained in:
parent
0caafef6c9
commit
96c04a744b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue