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:
24032bd
)
zte: use AT+CFUN=1;+CFUN=4 in enable
author
Pekka Pessi
<Pekka.Pessi@nokia.com>
Mon, 8 Nov 2010 17:46:57 +0000
(19:46 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 8 Nov 2010 17:50:07 +0000
(11:50 -0600)
Direct +CFUN transition 0 -> 4 gets SIM in inconsistent state.
plugins/zte.c
patch
|
blob
|
history
diff --git
a/plugins/zte.c
b/plugins/zte.c
index
07f8466
..
83602eb
100644
(file)
--- a/
plugins/zte.c
+++ b/
plugins/zte.c
@@
-184,7
+184,8
@@
static int zte_enable(struct ofono_modem *modem)
g_at_chat_send(data->aux, "ATE0 +CMEE=1", none_prefix,
NULL, NULL, NULL);
- g_at_chat_send(data->aux, "AT+CFUN=4", none_prefix,
+ /* Direct transition 0 -> 4 leaves SIM hosed */
+ g_at_chat_send(data->aux, "AT+CFUN=1;+CFUN=4", none_prefix,
cfun_enable, modem, NULL);
return -EINPROGRESS;