Skip to content

Commit 03892c1

Browse files
alexandru-porosanu-nxpMaureenHelm
authored andcommitted
Bluetooth: controller: split: openisa: fix missing include
If CONFIG_BT_CTLR_CONN_RSSI is enabled, then lll_conn.h should be included as well. Otherwise, struct lll_conn is unknown at the compile unit level. This has been reproduced by compiling the hci_uart sample, where the following error occurs: lll_adv.c: In function 'isr_rx_pdu': lll_adv.c:722:13: error: dereferencing pointer to incomplete type 'struct lll_conn' lll->conn->rssi_latest = radio_rssi_get(); ^~ Signed-off-by: Alex Porosanu <[email protected]>
1 parent 7b52475 commit 03892c1

File tree

1 file changed

+1
-0
lines changed
  • subsys/bluetooth/controller/ll_sw/openisa/lll

1 file changed

+1
-0
lines changed

subsys/bluetooth/controller/ll_sw/openisa/lll/lll_adv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "lll.h"
2828
#include "lll_vendor.h"
2929
#include "lll_adv.h"
30+
#include "lll_conn.h"
3031
#include "lll_chan.h"
3132
#include "lll_filter.h"
3233

0 commit comments

Comments
 (0)