Bluetooth: controller: Conditional compile adv addr used by initiator
Conditional compile adv_addr which is only used by controller when supporting initiator/central role. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
b2e802b018
commit
34451a9970
4 changed files with 21 additions and 5 deletions
|
@ -811,6 +811,9 @@ void ull_conn_setup(memq_link_t *link, struct node_rx_hdr *rx)
|
|||
|
||||
ftr = &(rx->rx_ftr);
|
||||
|
||||
/* NOTE: LLL conn context SHALL be after lll_hdr in
|
||||
* struct lll_adv and struct lll_scan.
|
||||
*/
|
||||
lll = *((struct lll_conn **)((uint8_t *)ftr->param +
|
||||
sizeof(struct lll_hdr)));
|
||||
switch (lll->role) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue