From: Denis Kenzior Date: Tue, 24 Nov 2009 01:56:41 +0000 (-0600) Subject: Fix: Change order of init commands X-Git-Tag: 0.12~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e0eb3cfd5bb51e5514db599073b0204fd329428;p=platform%2Fupstream%2Fofono.git 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. --- diff --git a/drivers/calypsomodem/voicecall.c b/drivers/calypsomodem/voicecall.c index 976334e..3457968 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);