Skip to content

Commit 0e7ad53

Browse files
committed
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]>
1 parent 0f9932a commit 0e7ad53

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
@@ -1618,6 +1618,7 @@ int bt_bap_scan_delegator_add_src(const struct bt_bap_scan_delegator_add_src_par
16181618
state->adv_sid = param->sid;
16191619
state->broadcast_id = param->broadcast_id;
16201620
state->pa_sync_state = param->pa_state;
1621+
state->encrypt_state = param->encrypt_state;
16211622
state->num_subgroups = param->num_subgroups;
16221623
if (state->num_subgroups > 0U) {
16231624
(void)memcpy(state->subgroups, param->subgroups,

0 commit comments

Comments
 (0)