Skip to content

Commit c709d4f

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: controller: Rename periodic adv rx enable flag
Rename the Periodic Advertising Rx Enable flag from is_enabled to is_rx_enabled. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
1 parent 44492c8 commit c709d4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

subsys/bluetooth/controller/ll_sw/lll_sync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct lll_sync {
2525
uint32_t window_size_event_us;
2626

2727
uint8_t phy:3;
28-
uint8_t is_enabled:1;
28+
uint8_t is_rx_enabled:1;
2929
};
3030

3131
int lll_sync_init(void);

subsys/bluetooth/controller/ll_sw/ull_sync.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ uint8_t ll_sync_create(uint8_t options, uint8_t sid, uint8_t adv_addr_type,
150150
lll_sync->window_widening_event_us = 0U;
151151

152152
/* Reporting initially enabled/disabled */
153-
lll_sync->is_enabled = options & BIT(1);
153+
lll_sync->is_rx_enabled = options & BIT(1);
154154

155155
/* sync_lost node_rx */
156156
sync->node_rx_lost.hdr.link = link_sync_lost;

0 commit comments

Comments
 (0)