From c3772c2bb6d81f3010e1b59a4db0c060097695c0 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 23 Oct 2009 12:55:03 -0500 Subject: [PATCH] Fix: Update Init string & shutdown string for mbm --- plugins/mbm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/mbm.c b/plugins/mbm.c index 1d45819c..f1ca1887 100644 --- a/plugins/mbm.c +++ b/plugins/mbm.c @@ -127,6 +127,8 @@ static int mbm_enable(struct ofono_modem *modem) if (getenv("OFONO_AT_DEBUG")) g_at_chat_set_debug(data->chat, mbm_debug, NULL); + g_at_chat_send(data->chat, "AT&F E0 V1 X4 &C1 +CMEE=1", NULL, + NULL, NULL, NULL); g_at_chat_send(data->chat, "AT+CFUN=1", NULL, cfun_enable, modem, NULL); @@ -152,7 +154,7 @@ static int mbm_disable(struct ofono_modem *modem) if (!data->chat) return 0; - g_at_chat_send(data->chat, "AT+CFUN=0", NULL, + g_at_chat_send(data->chat, "AT+CFUN=4", NULL, cfun_disable, modem, NULL); g_at_chat_shutdown(data->chat);