Commit 9a8b1b1d authored by Vinayak Kariappa Chettimada's avatar Vinayak Kariappa Chettimada Committed by David Leach
Browse files

Bluetooth: Controller: Fix compile error when BT_CTLR_PRIVACY disabled



Fix compile error when BT_CTLR_PRIVACY is disabled. Compile
error seen building hci_uart sample for nrf54l15dk.

Signed-off-by: default avatarVinayak Kariappa Chettimada <vich@nordicsemi.no>
parent 742ffd5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1072,7 +1072,7 @@ uint8_t ull_cp_periodic_sync(struct ll_conn *conn, struct ll_sync_set *sync,
		interval = sync->interval;

		addr_type = sync->peer_id_addr_type;
		if (sync->peer_addr_resolved) {
		if (IS_ENABLED(CONFIG_BT_CTLR_PRIVACY) && sync->peer_addr_resolved) {
			uint8_t rl_idx;

			/* peer_id_addr contains the identity address; Get the peers RPA */