mirror of git://git.sysmocom.de/ofono
voicecall: Rename hangup to hangup_active
This commit is contained in:
parent
ee31188114
commit
dde0a4ccb5
|
@ -409,7 +409,7 @@ static void at_answer(struct ofono_voicecall *vc,
|
||||||
static void at_hangup(struct ofono_voicecall *vc,
|
static void at_hangup(struct ofono_voicecall *vc,
|
||||||
ofono_voicecall_cb_t cb, void *data)
|
ofono_voicecall_cb_t cb, void *data)
|
||||||
{
|
{
|
||||||
/* Hangup all calls */
|
/* Hangup active call */
|
||||||
at_template("AT+CHUP", vc, generic_cb, 0x3f, cb, data);
|
at_template("AT+CHUP", vc, generic_cb, 0x3f, cb, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -874,7 +874,7 @@ static struct ofono_voicecall_driver driver = {
|
||||||
.remove = at_voicecall_remove,
|
.remove = at_voicecall_remove,
|
||||||
.dial = at_dial,
|
.dial = at_dial,
|
||||||
.answer = at_answer,
|
.answer = at_answer,
|
||||||
.hangup = at_hangup,
|
.hangup_active = at_hangup,
|
||||||
.hold_all_active = at_hold_all_active,
|
.hold_all_active = at_hold_all_active,
|
||||||
.release_all_held = at_release_all_held,
|
.release_all_held = at_release_all_held,
|
||||||
.set_udub = at_set_udub,
|
.set_udub = at_set_udub,
|
||||||
|
|
|
@ -407,7 +407,7 @@ static struct ofono_voicecall_driver driver = {
|
||||||
.remove = calypso_voicecall_remove,
|
.remove = calypso_voicecall_remove,
|
||||||
.dial = calypso_dial,
|
.dial = calypso_dial,
|
||||||
.answer = calypso_answer,
|
.answer = calypso_answer,
|
||||||
.hangup = calypso_hangup,
|
.hangup_active = calypso_hangup,
|
||||||
.hold_all_active = calypso_hold_all_active,
|
.hold_all_active = calypso_hold_all_active,
|
||||||
.release_all_held = calypso_release_all_held,
|
.release_all_held = calypso_release_all_held,
|
||||||
.set_udub = calypso_set_udub,
|
.set_udub = calypso_set_udub,
|
||||||
|
|
|
@ -1166,7 +1166,7 @@ static struct ofono_voicecall_driver driver = {
|
||||||
.remove = hfp_voicecall_remove,
|
.remove = hfp_voicecall_remove,
|
||||||
.dial = hfp_dial,
|
.dial = hfp_dial,
|
||||||
.answer = hfp_answer,
|
.answer = hfp_answer,
|
||||||
.hangup = hfp_hangup,
|
.hangup_active = hfp_hangup,
|
||||||
.hold_all_active = hfp_hold_all_active,
|
.hold_all_active = hfp_hold_all_active,
|
||||||
.release_all_held = hfp_release_all_held,
|
.release_all_held = hfp_release_all_held,
|
||||||
.set_udub = hfp_set_udub,
|
.set_udub = hfp_set_udub,
|
||||||
|
|
|
@ -1318,7 +1318,7 @@ static struct ofono_voicecall_driver driver = {
|
||||||
.remove = isi_voicecall_remove,
|
.remove = isi_voicecall_remove,
|
||||||
.dial = isi_dial,
|
.dial = isi_dial,
|
||||||
.answer = isi_answer,
|
.answer = isi_answer,
|
||||||
.hangup = isi_hangup,
|
.hangup_active = isi_hangup,
|
||||||
.hold_all_active = isi_hold_all_active,
|
.hold_all_active = isi_hold_all_active,
|
||||||
.release_all_held = isi_release_all_held,
|
.release_all_held = isi_release_all_held,
|
||||||
.set_udub = isi_set_udub,
|
.set_udub = isi_set_udub,
|
||||||
|
|
|
@ -569,7 +569,7 @@ static struct ofono_voicecall_driver driver = {
|
||||||
.remove = ste_voicecall_remove,
|
.remove = ste_voicecall_remove,
|
||||||
.dial = ste_dial,
|
.dial = ste_dial,
|
||||||
.answer = ste_answer,
|
.answer = ste_answer,
|
||||||
.hangup = ste_hangup,
|
.hangup_active = ste_hangup,
|
||||||
.hold_all_active = ste_hold_all_active,
|
.hold_all_active = ste_hold_all_active,
|
||||||
.release_all_held = ste_release_all_held,
|
.release_all_held = ste_release_all_held,
|
||||||
.set_udub = ste_set_udub,
|
.set_udub = ste_set_udub,
|
||||||
|
|
|
@ -67,7 +67,7 @@ struct ofono_voicecall_driver {
|
||||||
ofono_voicecall_cb_t cb, void *data);
|
ofono_voicecall_cb_t cb, void *data);
|
||||||
void (*answer)(struct ofono_voicecall *vc,
|
void (*answer)(struct ofono_voicecall *vc,
|
||||||
ofono_voicecall_cb_t cb, void *data);
|
ofono_voicecall_cb_t cb, void *data);
|
||||||
void (*hangup)(struct ofono_voicecall *vc,
|
void (*hangup_active)(struct ofono_voicecall *vc,
|
||||||
ofono_voicecall_cb_t cb, void *data);
|
ofono_voicecall_cb_t cb, void *data);
|
||||||
void (*hold_all_active)(struct ofono_voicecall *vc,
|
void (*hold_all_active)(struct ofono_voicecall *vc,
|
||||||
ofono_voicecall_cb_t cb, void *data);
|
ofono_voicecall_cb_t cb, void *data);
|
||||||
|
|
Loading…
Reference in New Issue