quectel: fix initial channel/device configuration

The three-commands-in-one-go results in error on some quectel devices
(e.g. m95). Add semicolons between the commands to fix it.
This commit is contained in:
Martin Hundebøll 2019-07-04 13:03:50 +02:00 committed by Denis Kenzior
parent db74f0998a
commit 47021f9950
1 changed files with 3 additions and 3 deletions

View File

@ -212,9 +212,9 @@ static int quectel_enable(struct ofono_modem *modem)
g_at_chat_set_slave(data->modem, data->aux);
g_at_chat_send(data->modem, "ATE0 &C0 +CMEE=1", none_prefix, NULL, NULL,
NULL);
g_at_chat_send(data->aux, "ATE0 &C0 +CMEE=1", none_prefix, NULL, NULL,
g_at_chat_send(data->modem, "ATE0; &C0; +CMEE=1", none_prefix, NULL,
NULL, NULL);
g_at_chat_send(data->aux, "ATE0; &C0; +CMEE=1", none_prefix, NULL, NULL,
NULL);
g_at_chat_send(data->aux, "AT+CFUN?", cfun_prefix, cfun_query, modem,
NULL);