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:
aa917e5
)
cdma-connman: Turn off modem dormancy timeouts
author
Denis Kenzior
<denkenz@gmail.com>
Fri, 9 Dec 2011 11:35:48 +0000
(
05:35
-0600)
committer
Denis Kenzior
<denkenz@gmail.com>
Fri, 9 Dec 2011 11:35:48 +0000
(
05:35
-0600)
drivers/cdmamodem/connman.c
patch
|
blob
|
history
diff --git
a/drivers/cdmamodem/connman.c
b/drivers/cdmamodem/connman.c
index
c03841e
..
8c3265a
100644
(file)
--- a/
drivers/cdmamodem/connman.c
+++ b/
drivers/cdmamodem/connman.c
@@
-299,6
+299,8
@@
static int cdma_connman_probe(struct ofono_cdma_connman *cm,
ofono_cdma_connman_set_data(cm, cd);
+ /* Turn off any modem-initiated dormancy timeout */
+ g_at_chat_send(cd->chat, "AT+CTA=0", none_prefix, NULL, NULL, NULL);
g_at_chat_send(cd->chat, "AT&C0", none_prefix, at_c0_cb, cm, NULL);
return 0;