Subject: [PATCH BlueZ 1/1] bap: Fix endpoint unregister for BAP broadcast source

Fix endpoint not being removed when endpoint unregister
is called for BAP broadcast source

---
profiles/audio/bap.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index 52a9f5e00..db0af7e7c 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -2490,15 +2490,12 @@ static void pac_removed(struct bt_bap_pac *pac, void *user_data)

static void pac_removed_broadcast(struct bt_bap_pac *pac, void *user_data)
{
- struct btd_service *service = user_data;
- struct bap_data *data;
+ struct bap_data *data = user_data;
struct queue *queue;
struct bap_ep *ep;

DBG("pac %p", pac);

- data = btd_service_get_user_data(service);
-
switch (bt_bap_pac_get_type(pac)) {
case BT_BAP_SINK:
queue = data->srcs;
--
2.40.1



2024-04-02 17:44:17

by bluez.test.bot

[permalink] [raw]
Subject: RE: bap: Fix endpoint unregister for BAP broadcast source

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=840702

---Test result---

Test Summary:
CheckPatch PASS 0.45 seconds
GitLint PASS 0.33 seconds
BuildEll PASS 24.59 seconds
BluezMake PASS 1700.75 seconds
MakeCheck PASS 13.79 seconds
MakeDistcheck PASS 178.97 seconds
CheckValgrind PASS 248.63 seconds
CheckSmatch PASS 353.52 seconds
bluezmakeextell PASS 120.47 seconds
IncrementalBuild PASS 1456.28 seconds
ScanBuild PASS 1001.85 seconds



---
Regards,
Linux Bluetooth