diff options
author | Denis Kenzior <denis.kenzior@intel.com> | 2009-10-23 12:55:03 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-23 17:05:56 -0500 |
commit | c3772c2bb6d81f3010e1b59a4db0c060097695c0 (patch) | |
tree | 7410a90db40c74a4dcb30bac7cdb799944d01afd | |
parent | 3408fc50940e18f391c7cfff8b6042880704f607 (diff) | |
download | ofono-c3772c2bb6d81f3010e1b59a4db0c060097695c0.tar.bz2 |
Fix: Update Init string & shutdown string for mbm
-rw-r--r-- | plugins/mbm.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |