summaryrefslogtreecommitdiff
path: root/plugins/phonesim.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-19 20:42:29 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-19 20:42:29 +0200
commit93f7bca25f0e57fbdff9871946dc8673a6838fc5 (patch)
tree2ec1146cc628a6d60620f83246569ce460399163 /plugins/phonesim.c
parentb75a5574f5a5652880ab2fe4760c2f3272815496 (diff)
downloadofono-93f7bca25f0e57fbdff9871946dc8673a6838fc5.tar.gz
phonesim: Add missing ATE0 when in multiplexer mode
Diffstat (limited to 'plugins/phonesim.c')
-rw-r--r--plugins/phonesim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/phonesim.c b/plugins/phonesim.c
index 2c028c0f..2a4561b1 100644
--- a/plugins/phonesim.c
+++ b/plugins/phonesim.c
@@ -167,6 +167,8 @@ static void mux_setup(GAtMux *mux, gpointer user_data)
if (data->calypso)
g_at_chat_set_wakeup_command(data->chat, "AT\r", 500, 5000);
+ g_at_chat_send(data->chat, "ATE0", NULL, NULL, NULL, NULL);
+
g_at_chat_send(data->chat, "AT+CFUN=1", none_prefix,
cfun_set_on_cb, modem, NULL);
}