summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,