Turn off echo on HSO modems
authorDenis Kenzior <denkenz@gmail.com>
Wed, 18 Nov 2009 23:58:15 +0000 (17:58 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 19 Nov 2009 00:07:11 +0000 (18:07 -0600)
plugins/hso.c

index 10f9e8b..6293d84 100644 (file)
@@ -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);