mirror of git://git.sysmocom.de/ofono
hso: Switch modem to use error numbers instead of strings
This commit is contained in:
parent
cb21b7f442
commit
036707e42a
|
@ -281,8 +281,8 @@ static int hso_enable(struct ofono_modem *modem)
|
|||
if (getenv("OFONO_AT_DEBUG"))
|
||||
g_at_chat_set_debug(data->app, hso_debug, "App: ");
|
||||
|
||||
g_at_chat_send(data->control, "ATE0", none_prefix, NULL, NULL, NULL);
|
||||
g_at_chat_send(data->app, "ATE0", none_prefix, NULL, NULL, NULL);
|
||||
g_at_chat_send(data->control, "ATE0 +CMEE=1", NULL, NULL, NULL, NULL);
|
||||
g_at_chat_send(data->app, "ATE0 +CMEE=1", NULL, NULL, NULL, NULL);
|
||||
|
||||
g_at_chat_send(data->control, "AT+CFUN=4", none_prefix,
|
||||
cfun_enable, modem, NULL);
|
||||
|
|
Loading…
Reference in New Issue