summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem/voicecall.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-12-17 21:44:09 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-12-17 21:45:40 -0600
commit6cb038fafb68de3da61282b10465065132635320 (patch)
treeca4f0b1c8dd77239a363c2b0f6d1cfd5a6e307fe /drivers/hfpmodem/voicecall.c
parent57512ad924b4c74f420a536efc009baa89a70a59 (diff)
downloadofono-6cb038fafb68de3da61282b10465065132635320.tar.bz2
Style: Repeat for drivers
Diffstat (limited to 'drivers/hfpmodem/voicecall.c')
-rw-r--r--drivers/hfpmodem/voicecall.c6
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;