From: "Frédéric Danis" <frederic.danis@collabora.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 2/2] audio/hfp-hf: Update multiparty status on call creation
Date: Wed, 24 Dec 2025 15:45:45 +0100 [thread overview]
Message-ID: <20251224144545.211533-2-frederic.danis@collabora.com> (raw)
In-Reply-To: <20251224144545.211533-1-frederic.danis@collabora.com>
---
profiles/audio/hfp-hf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/profiles/audio/hfp-hf.c b/profiles/audio/hfp-hf.c
index ca40c46d0..c91b16426 100644
--- a/profiles/audio/hfp-hf.c
+++ b/profiles/audio/hfp-hf.c
@@ -158,12 +158,15 @@ static void hfp_hf_call_added(uint id, enum hfp_call_status status,
struct hfp_device *dev = user_data;
struct call *call;
const char *number;
+ bool mpty;
call = telephony_new_call(dev->telephony, id,
hfp_call_status_to_call_state(status),
NULL);
if ((number = hfp_hf_call_get_number(dev->hf, id)) != NULL)
call->line_id = g_strdup(number);
+ if (hfp_hf_call_get_multiparty(dev->hf, id, &mpty))
+ call->multiparty = mpty;
if (telephony_call_register_interface(call)) {
telephony_free_call(call);
return;
--
2.43.0
next prev parent reply other threads:[~2025-12-24 14:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-24 14:45 [PATCH BlueZ 1/2] shared/hfp: Add function to get multiparty call status Frédéric Danis
2025-12-24 14:45 ` Frédéric Danis [this message]
2025-12-24 15:36 ` [BlueZ,1/2] " bluez.test.bot
2026-01-15 21:40 ` [PATCH BlueZ 1/2] " patchwork-bot+bluetooth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251224144545.211533-2-frederic.danis@collabora.com \
--to=frederic.danis@collabora.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.