Skip to content

Commit eaa330e

Browse files
omkar3141rlubos
authored andcommitted
[nrf fromtree] bluetooth: audio: Update encrypt state value
Fixes a bug where encrypt state value was not updated based on given parameters. Signed-off-by: Omkar Kulkarni <[email protected]> (cherry picked from commit b6e5d03)
1 parent cfb18ed commit eaa330e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/bluetooth/audio/bap_scan_delegator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,6 +1615,7 @@ int bt_bap_scan_delegator_add_src(const struct bt_bap_scan_delegator_add_src_par
16151615
state->adv_sid = param->sid;
16161616
state->broadcast_id = param->broadcast_id;
16171617
state->pa_sync_state = param->pa_state;
1618+
state->encrypt_state = param->encrypt_state;
16181619
state->num_subgroups = param->num_subgroups;
16191620
if (state->num_subgroups > 0U) {
16201621
(void)memcpy(state->subgroups, param->subgroups,

0 commit comments

Comments
 (0)