cdma-connman: Turn off modem dormancy timeouts

This commit is contained in:
Denis Kenzior 2011-12-09 05:35:48 -06:00
parent aa917e5be1
commit ef732d0c18
1 changed files with 2 additions and 0 deletions

View File

@ -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;