Skip to content

Commit

Permalink
Bluetooth: Controller: Fix missing BT_CTLR_BROADCAST_ISO_ENC
Browse files Browse the repository at this point in the history
Fix missing BT_CTLR_BROADCAST_ISO_ENC conditional compile.

Relates to commit 2d49080 ("Bluetooth: Controller: Fix
BT_CTLR_LE_ENC conditional compilation").

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
  • Loading branch information
cvinayak authored and carlescufi committed Jul 31, 2024
1 parent 03885d1 commit 8bf604e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/bluetooth/controller/ll_sw/ull_sync_iso.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ uint8_t ll_big_sync_create(uint8_t big_handle, uint16_t sync_handle,
lll->cssn_next = 0U;
lll->term_reason = 0U;

if (encryption) {
if (IS_ENABLED(CONFIG_BT_CTLR_BROADCAST_ISO_ENC) && encryption) {
const uint8_t BIG1[16] = {0x31, 0x47, 0x49, 0x42, };
const uint8_t BIG2[4] = {0x32, 0x47, 0x49, 0x42};
uint8_t igltk[16];
Expand Down

0 comments on commit 8bf604e

Please sign in to comment.