Skip to content

Commit

Permalink
Bluetooth: audio: BAP: set the past_avail status
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kruithofa committed Feb 27, 2024
1 parent 7eeb0f6 commit ec615d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subsys/bluetooth/audio/bap_broadcast_assistant.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down

0 comments on commit ec615d0

Please sign in to comment.