Skip to content
Commit bbb87ae0 authored by Fredrik Danebjer's avatar Fredrik Danebjer Committed by Fabio Baltieri
Browse files

Bluetooth: Audio: Broadcast Assistant: Check add_source duplication



Added a check for checking duplication when adding a source in the
broadcast assistant, as per requirement in BAP 6.5.4. It is not
permitted to add a source such that a combination of broadcast_id,
adv_sid and address type would result in same triple of values.
Added a recv_state struct to cache these values when read, and moved
past_avail and srd_ids into this as well.

Signed-off-by: default avatarFredrik Danebjer <frdn@demant.com>
parent c50843a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment