From 27fecd3c5634fbf3c7c39d884d43240ec4f6854a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= Date: Mon, 5 May 2025 11:28:20 +0200 Subject: [PATCH] bluez5: backend-native: Fix hangup of waiting call 3-way incoming calls are created in waiting state. When those calls are hang-up before being active, the +CIEV: (callsetup = 0) should also be managed for waiting calls. --- spa/plugins/bluez5/backend-native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/bluez5/backend-native.c b/spa/plugins/bluez5/backend-native.c index fa78545fa..e42963c34 100644 --- a/spa/plugins/bluez5/backend-native.c +++ b/spa/plugins/bluez5/backend-native.c @@ -2088,7 +2088,7 @@ static bool rfcomm_hfp_hf(struct rfcomm *rfcomm, char* token) struct spa_bt_telephony_call *call, *tcall; spa_list_for_each_safe(call, tcall, &rfcomm->telephony_ag->call_list, link) { if (call->state == CALL_STATE_DIALING || call->state == CALL_STATE_ALERTING || - call->state == CALL_STATE_INCOMING) { + call->state == CALL_STATE_INCOMING || call->state == CALL_STATE_WAITING) { call->state = CALL_STATE_DISCONNECTED; telephony_call_notify_updated_props(call); telephony_call_destroy(call);