summaryrefslogtreecommitdiffstats
path: root/drivers/isimodem/voicecall.c
diff options
context:
space:
mode:
authorPekka Pessi <Pekka.Pessi@nokia.com>2010-10-06 12:58:29 +0300
committerMarcel Holtmann <marcel@holtmann.org>2010-10-06 12:07:27 +0200
commita5e13cb049da491aba85812a9a0e7977cebe280f (patch)
tree23d6e25e7354f494ab7e6d8d75206ebfaf681bb6 /drivers/isimodem/voicecall.c
parent36109920962ae972f8e1c9b38b3b20bdbbbc1bbc (diff)
downloadofono-a5e13cb049da491aba85812a9a0e7977cebe280f.tar.bz2
isimodem/voicecall: fix hangup_active
Diffstat (limited to 'drivers/isimodem/voicecall.c')
-rw-r--r--drivers/isimodem/voicecall.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c
index 4b720bed..146390c1 100644
--- a/drivers/isimodem/voicecall.c
+++ b/drivers/isimodem/voicecall.c
@@ -988,11 +988,10 @@ static void isi_answer(struct ofono_voicecall *ovc,
isi_call_answer_req(ovc, CALL_ID_ALL, cb, data);
}
-static void isi_hangup(struct ofono_voicecall *ovc,
+static void isi_hangup_active(struct ofono_voicecall *ovc,
ofono_voicecall_cb_t cb, void *data)
{
- /* AT+CHUP */
- isi_call_release_req(ovc, CALL_ID_ALL, CALL_CAUSE_TYPE_CLIENT,
+ isi_call_release_req(ovc, CALL_ID_ACTIVE, CALL_CAUSE_TYPE_CLIENT,
CALL_CAUSE_RELEASE_BY_USER, cb, data);
}
@@ -1318,7 +1317,7 @@ static struct ofono_voicecall_driver driver = {
.remove = isi_voicecall_remove,
.dial = isi_dial,
.answer = isi_answer,
- .hangup_active = isi_hangup,
+ .hangup_active = isi_hangup_active,
.hold_all_active = isi_hold_all_active,
.release_all_held = isi_release_all_held,
.set_udub = isi_set_udub,