From fd2ccbc5ba92c00a40e02d03ade841f6244a86bf Mon Sep 17 00:00:00 2001 From: Andries Kruithof Date: Tue, 27 Feb 2024 08:53:05 +0100 Subject: [PATCH] Bluetooth: audio: BAP: set the past_avail status While refactoring the handling of callbacks the setting of past_avail status got deleted (and it was in the wrong place). Adding it back at the correct place. Signed-off-by: Andries Kruithof --- subsys/bluetooth/audio/bap_broadcast_assistant.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/bluetooth/audio/bap_broadcast_assistant.c b/subsys/bluetooth/audio/bap_broadcast_assistant.c index 17c6330164f..557830452d5 100644 --- a/subsys/bluetooth/audio/bap_broadcast_assistant.c +++ b/subsys/bluetooth/audio/bap_broadcast_assistant.c @@ -430,6 +430,7 @@ static uint8_t notify_handler(struct bt_conn *conn, return parse_and_send_recv_state(conn, handle, data, length, &recv_state); } } else { + broadcast_assistant.past_avail[index] = false; bap_broadcast_assistant_recv_state_removed(conn, 0, broadcast_assistant.src_ids[index]); }