commit | 9d62bef3ac4510c7a2ed4f65104b3de6e737d940 | [log] [tgz] |
---|---|---|
author | Emil Gydesen <emil.gydesen@nordicsemi.no> | Fri Sep 08 11:29:44 2023 +0200 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Tue Sep 19 15:23:10 2023 +0100 |
tree | 8f21a1f59f91a8def209d2cda2bcdbed3a5fd7f8 | |
parent | 994558ef8e0ddacf0df913f84b0bef9e0177b70a [diff] |
Bluetooth: BAP: Broadcast source state checks for ID and BASE Add state checks for the get_id and get_base functions, as the ID and base are not valid when the state of the broadcast source is BT_BAP_EP_STATE_IDLE. Since the broadcast_source_get_state uses the slist functions, the broadcast source object for bt_bap_broadcast_source_get_id can no longer be `const`. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>