summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSjur Brændeland <sjur.brandeland@stericsson.com>2010-08-09 23:18:37 +0200
committerDenis Kenzior <denkenz@gmail.com>2010-08-12 11:32:12 -0500
commitdde0a4ccb58426396dfcdf179569031293b42d91 (patch)
treeb0e8dcb17e2d81dfb02bf24a2399d6c4d70f7010 /drivers
parentee311881143057bc52d77cf69b85c5fea80919e6 (diff)
downloadofono-dde0a4ccb58426396dfcdf179569031293b42d91.tar.bz2
voicecall: Rename hangup to hangup_active
Diffstat (limited to 'drivers')
-rw-r--r--drivers/atmodem/voicecall.c4
-rw-r--r--drivers/calypsomodem/voicecall.c2
-rw-r--r--drivers/hfpmodem/voicecall.c2
-rw-r--r--drivers/isimodem/voicecall.c2
-rw-r--r--drivers/stemodem/voicecall.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c
index fce9144d..25787799 100644
--- a/drivers/atmodem/voicecall.c
+++ b/drivers/atmodem/voicecall.c
@@ -409,7 +409,7 @@ static void at_answer(struct ofono_voicecall *vc,
static void at_hangup(struct ofono_voicecall *vc,
ofono_voicecall_cb_t cb, void *data)
{
- /* Hangup all calls */
+ /* Hangup active call */
at_template("AT+CHUP", vc, generic_cb, 0x3f, cb, data);
}
@@ -874,7 +874,7 @@ static struct ofono_voicecall_driver driver = {
.remove = at_voicecall_remove,
.dial = at_dial,
.answer = at_answer,
- .hangup = at_hangup,
+ .hangup_active = at_hangup,
.hold_all_active = at_hold_all_active,
.release_all_held = at_release_all_held,
.set_udub = at_set_udub,
diff --git a/drivers/calypsomodem/voicecall.c b/drivers/calypsomodem/voicecall.c
index 511d533f..56ec5a9c 100644
--- a/drivers/calypsomodem/voicecall.c
+++ b/drivers/calypsomodem/voicecall.c
@@ -407,7 +407,7 @@ static struct ofono_voicecall_driver driver = {
.remove = calypso_voicecall_remove,
.dial = calypso_dial,
.answer = calypso_answer,
- .hangup = calypso_hangup,
+ .hangup_active = calypso_hangup,
.hold_all_active = calypso_hold_all_active,
.release_all_held = calypso_release_all_held,
.set_udub = calypso_set_udub,
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index f83f26ab..69923cc6 100644
--- a/drivers/hfpmodem/voicecall.c
+++ b/drivers/hfpmodem/voicecall.c
@@ -1166,7 +1166,7 @@ static struct ofono_voicecall_driver driver = {
.remove = hfp_voicecall_remove,
.dial = hfp_dial,
.answer = hfp_answer,
- .hangup = hfp_hangup,
+ .hangup_active = hfp_hangup,
.hold_all_active = hfp_hold_all_active,
.release_all_held = hfp_release_all_held,
.set_udub = hfp_set_udub,
diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c
index 3e28daec..4b720bed 100644
--- a/drivers/isimodem/voicecall.c
+++ b/drivers/isimodem/voicecall.c
@@ -1318,7 +1318,7 @@ static struct ofono_voicecall_driver driver = {
.remove = isi_voicecall_remove,
.dial = isi_dial,
.answer = isi_answer,
- .hangup = isi_hangup,
+ .hangup_active = isi_hangup,
.hold_all_active = isi_hold_all_active,
.release_all_held = isi_release_all_held,
.set_udub = isi_set_udub,
diff --git a/drivers/stemodem/voicecall.c b/drivers/stemodem/voicecall.c
index a56709ae..daadf54e 100644
--- a/drivers/stemodem/voicecall.c
+++ b/drivers/stemodem/voicecall.c
@@ -569,7 +569,7 @@ static struct ofono_voicecall_driver driver = {
.remove = ste_voicecall_remove,
.dial = ste_dial,
.answer = ste_answer,
- .hangup = ste_hangup,
+ .hangup_active = ste_hangup,
.hold_all_active = ste_hold_all_active,
.release_all_held = ste_release_all_held,
.set_udub = ste_set_udub,