diff options
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; |