diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-12-17 21:44:09 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-12-17 21:45:40 -0600 |
commit | 6cb038fafb68de3da61282b10465065132635320 (patch) | |
tree | ca4f0b1c8dd77239a363c2b0f6d1cfd5a6e307fe /drivers/hfpmodem/voicecall.c | |
parent | 57512ad924b4c74f420a536efc009baa89a70a59 (diff) | |
download | ofono-6cb038fafb68de3da61282b10465065132635320.tar.bz2 |
Style: Repeat for drivers
Diffstat (limited to 'drivers/hfpmodem/voicecall.c')
-rw-r--r-- | drivers/hfpmodem/voicecall.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c index 71f14f69..a06eb5d9 100644 --- a/drivers/hfpmodem/voicecall.c +++ b/drivers/hfpmodem/voicecall.c @@ -983,9 +983,10 @@ static void ciev_callsetup_notify(struct ofono_voicecall *vc, call->status = CALL_STATUS_ACTIVE; ofono_voicecall_notify(vc, call); - } else + } else { g_at_chat_send(vd->chat, "AT+CLCC", clcc_prefix, clcc_poll_cb, vc, NULL); + } break; @@ -1063,8 +1064,9 @@ static void ciev_callheld_notify(struct ofono_voicecall *vc, call->status = CALL_STATUS_HELD; ofono_voicecall_notify(vc, call); } - } else if (callheld == 1) + } else if (callheld == 1) { release_with_status(vc, CALL_STATUS_ACTIVE); + } } vd->cind_val[HFP_INDICATOR_CALLHELD] = value; |