projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c91a4b
)
sierra: Initialize GSM error reporting separately
author
Forest Bond
<forest.bond@rapidrollout.com>
Fri, 28 Dec 2012 19:36:00 +0000
(14:36 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 31 Dec 2012 02:35:58 +0000
(20:35 -0600)
plugins/sierra.c
patch
|
blob
|
history
diff --git
a/plugins/sierra.c
b/plugins/sierra.c
index
4e125d7
..
a458e38
100644
(file)
--- 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);