mirror of git://git.sysmocom.de/ofono
Fix update hfp_hangup to release active call
In HFP, AT+CHUP is intended to release the current active call.
This commit is contained in:
parent
ee1e9d14bd
commit
bd81a13493
|
@ -393,8 +393,8 @@ static void hfp_answer(struct ofono_voicecall *vc,
|
||||||
static void hfp_hangup(struct ofono_voicecall *vc,
|
static void hfp_hangup(struct ofono_voicecall *vc,
|
||||||
ofono_voicecall_cb_t cb, void *data)
|
ofono_voicecall_cb_t cb, void *data)
|
||||||
{
|
{
|
||||||
/* Hangup all calls */
|
/* Hangup current active call */
|
||||||
hfp_template("AT+CHUP", vc, generic_cb, 0x3f, cb, data);
|
hfp_template("AT+CHUP", vc, generic_cb, 0x1, cb, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void hfp_hold_all_active(struct ofono_voicecall *vc,
|
static void hfp_hold_all_active(struct ofono_voicecall *vc,
|
||||||
|
|
Loading…
Reference in New Issue