summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-12-09 05:35:48 -0600
committerDenis Kenzior <denkenz@gmail.com>2011-12-09 05:35:48 -0600
commitef732d0c1892d593d3a791f1482d3384a423e046 (patch)
tree1d56572de857af126de6b8f7d311822485a639e0
parentaa917e5be11db89fbc84fb1d7f3e6ea58e1ac224 (diff)
downloadofono-ef732d0c1892d593d3a791f1482d3384a423e046.tar.bz2
cdma-connman: Turn off modem dormancy timeouts
-rw-r--r--drivers/cdmamodem/connman.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cdmamodem/connman.c b/drivers/cdmamodem/connman.c
index c03841e2..8c3265a1 100644
--- 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;