summaryrefslogtreecommitdiffstats
path: root/plugins/calypso.c
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-12-01 12:17:38 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-12-01 12:42:23 -0600
commitd1e62194effdc8e137e67f4ba03a356f3945547f (patch)
tree2a11900d0c67007d32e50a033e93f5a2245ead9b /plugins/calypso.c
parente8ac4e5368f92042f66688daae0b05d826f3d7a8 (diff)
downloadofono-d1e62194effdc8e137e67f4ba03a356f3945547f.tar.bz2
Fix: Disable echo on all calypso DLCs
Diffstat (limited to 'plugins/calypso.c')
-rw-r--r--plugins/calypso.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/calypso.c b/plugins/calypso.c
index 87c6a905..ae5c15f2 100644
--- a/plugins/calypso.c
+++ b/plugins/calypso.c
@@ -171,9 +171,11 @@ static void setup_modem(struct ofono_modem *modem)
int i;
/* Generate unsolicited notifications as soon as they're generated */
- for (i = 0; i < NUM_DLC; i++)
+ for (i = 0; i < NUM_DLC; i++) {
+ g_at_chat_send(data->dlcs[i], "ATE0", NULL, NULL, NULL, NULL);
g_at_chat_send(data->dlcs[i], "AT%CUNS=0",
NULL, NULL, NULL, NULL);
+ }
/* CSTAT tells us when SMS & Phonebook are ready to be used */
g_at_chat_register(data->dlcs[SETUP_DLC], "%CSTAT:", cstat_notify,