diff options
author | Forest Bond <forest.bond@rapidrollout.com> | 2012-12-28 14:36:00 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-12-30 20:35:58 -0600 |
commit | 11a3337a58fea31010430cda4893703373be8e6d (patch) | |
tree | 0ea8570a0e91ac7ab962e0584e0567fd031ff96d /plugins/sierra.c | |
parent | 2c91a4bb65e3dd016c9b02dcb5364593b06f53b7 (diff) | |
download | ofono-11a3337a58fea31010430cda4893703373be8e6d.tar.bz2 |
sierra: Initialize GSM error reporting separately
Diffstat (limited to 'plugins/sierra.c')
-rw-r--r-- | plugins/sierra.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/sierra.c b/plugins/sierra.c index 4e125d78..a458e38a 100644 --- a/plugins/sierra.c +++ b/plugins/sierra.c @@ -144,8 +144,9 @@ static int sierra_enable(struct ofono_modem *modem) if (data->modem == NULL) return -EINVAL; - g_at_chat_send(data->modem, "ATE0 &C0 +CMEE=1", NULL, - NULL, NULL, NULL); + g_at_chat_send(data->modem, "ATE0 &C0", NULL, NULL, NULL, NULL); + /* This is separate because it is not supported by all modems. */ + g_at_chat_send(data->modem, "AT+CMEE=1", NULL, NULL, NULL, NULL); g_at_chat_send(data->modem, "AT+CFUN=4", none_prefix, cfun_enable, modem, NULL); |