diff --git a/spa/plugins/bluez5/backend-native.c b/spa/plugins/bluez5/backend-native.c index 51f4129c4..69b25cfd6 100644 --- a/spa/plugins/bluez5/backend-native.c +++ b/spa/plugins/bluez5/backend-native.c @@ -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);