Bluetooth: controller: legacy: Fix compiler warnings
Fix compiler warnings when central only support is used. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
e23c7fbba6
commit
9128200e6c
|
@ -366,7 +366,9 @@ static inline u8_t phy_upd_ind_recv(struct radio_pdu_node_rx *node_rx,
|
|||
#if defined(CONFIG_BT_CTLR_LE_ENC)
|
||||
static void enc_req_reused_send(struct connection *conn,
|
||||
struct radio_pdu_node_tx *node_tx);
|
||||
#if defined(CONFIG_BT_PERIPHERAL)
|
||||
static u8_t enc_rsp_send(struct connection *conn);
|
||||
#endif /* CONFIG_BT_PERIPHERAL */
|
||||
static u8_t start_enc_rsp_send(struct connection *conn,
|
||||
struct pdu_data *pdu_ctrl_tx);
|
||||
static u8_t pause_enc_rsp_send(struct connection *conn, u8_t req);
|
||||
|
@ -10671,6 +10673,7 @@ static void enc_req_reused_send(struct connection *conn,
|
|||
sizeof(pdu_ctrl_tx->llctrl.enc_req.ivm), 0);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BT_PERIPHERAL)
|
||||
static u8_t enc_rsp_send(struct connection *conn)
|
||||
{
|
||||
struct radio_pdu_node_tx *node_tx;
|
||||
|
@ -10713,6 +10716,7 @@ static u8_t enc_rsp_send(struct connection *conn)
|
|||
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_BT_PERIPHERAL */
|
||||
|
||||
static u8_t start_enc_rsp_send(struct connection *conn,
|
||||
struct pdu_data *pdu_ctrl_tx)
|
||||
|
|
Loading…
Reference in a new issue