bluez5: backend-native: add debug log in hfp_hf_remove_disconnected_calls()

This commit is contained in:
George Kiagiadakis 2025-07-30 12:59:50 +03:00 committed by Wim Taymans
parent 5ccd1c5619
commit 79a069c886

View file

@ -1902,6 +1902,7 @@ static const struct spa_bt_telephony_ag_callbacks telephony_ag_callbacks = {
static void hfp_hf_remove_disconnected_calls(struct rfcomm *rfcomm)
{
struct impl *backend = rfcomm->backend;
struct spa_bt_telephony_call *call, *call_tmp;
struct updated_call *updated_call;
bool found;
@ -1915,6 +1916,8 @@ static void hfp_hf_remove_disconnected_calls(struct rfcomm *rfcomm)
}
}
spa_log_debug(backend->log, "call %d -> %s", call->id, found ? "updated" : "disconnected");
if (!found) {
call->state = CALL_STATE_DISCONNECTED;
telephony_call_notify_updated_props(call);