summaryrefslogtreecommitdiffstats
path: root/plugins/hso.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-11-18 17:58:15 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-11-18 18:07:11 -0600
commit781a9eedf3ae8e43a7bd1967843ca9c81ecfa52c (patch)
tree8f4d6f1e0e0d38b8448b54ceb6feb8b090612d53 /plugins/hso.c
parent19758e3520ab368e73a72d2b6d386e78768f4b66 (diff)
downloadofono-781a9eedf3ae8e43a7bd1967843ca9c81ecfa52c.tar.bz2
Turn off echo on HSO modems
Diffstat (limited to 'plugins/hso.c')
-rw-r--r--plugins/hso.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/hso.c b/plugins/hso.c
index 10f9e8b5..6293d84f 100644
--- a/plugins/hso.c
+++ b/plugins/hso.c
@@ -146,6 +146,9 @@ 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, "AT+CFUN=1", none_prefix,
cfun_enable, modem, NULL);