summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-11-23 19:56:41 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-11-23 19:56:41 -0600
commit6e0eb3cfd5bb51e5514db599073b0204fd329428 (patch)
tree50aaca5315233b7804b022dfa1a15274d3557364
parentd6f5ac37675aa867412271cb073c8252e7043557 (diff)
downloadofono-6e0eb3cfd5bb51e5514db599073b0204fd329428.tar.bz2
Fix: Change order of init commands
This seems to make the calypso return from ATD right away instead of waiting for connect/busy to be returned. It should now be possible to hangup alerting calls.
-rw-r--r--drivers/calypsomodem/voicecall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/calypsomodem/voicecall.c b/drivers/calypsomodem/voicecall.c
index 976334e0..34579683 100644
--- a/drivers/calypsomodem/voicecall.c
+++ b/drivers/calypsomodem/voicecall.c
@@ -391,10 +391,10 @@ static int calypso_voicecall_probe(struct ofono_voicecall *vc, unsigned int vend
ofono_voicecall_set_data(vc, vd);
+ g_at_chat_send(chat, "AT%CPI=3", NULL, NULL, NULL, NULL);
g_at_chat_send(chat, "AT+CLIP=1", NULL, NULL, NULL, NULL);
g_at_chat_send(chat, "AT+COLP=0", NULL, NULL, NULL, NULL);
g_at_chat_send(chat, "AT+CSSN=1,1", NULL, NULL, NULL, NULL);
- g_at_chat_send(chat, "AT%CPI=3", NULL, NULL, NULL, NULL);
g_at_chat_send(chat, "AT+CCWA=1", NULL,
calypso_voicecall_initialized, vc, NULL);