From 3e0f72d7cc855abbd492758eced9fcce8f368e03 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Thu, 11 May 2017 19:59:04 +0200 Subject: [PATCH] Bluetooth: controller: Fix missing PHY update cond. compilation Added a missing conditional compilation #if-#endif that caused compilation error when PHY update feature was deselected. Signed-off-by: Vinayak Kariappa Chettimada --- subsys/bluetooth/controller/ll_sw/ctrl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subsys/bluetooth/controller/ll_sw/ctrl.c b/subsys/bluetooth/controller/ll_sw/ctrl.c index 742efc88d77..92c95acd00e 100644 --- a/subsys/bluetooth/controller/ll_sw/ctrl.c +++ b/subsys/bluetooth/controller/ll_sw/ctrl.c @@ -1498,6 +1498,7 @@ isr_rx_conn_pkt_ctrl_rej_conn_upd(struct radio_pdu_node_rx *radio_pdu_node_rx, } } +#if defined(CONFIG_BLUETOOTH_CONTROLLER_PHY) static inline void isr_rx_conn_pkt_ctrl_rej_phy_upd(struct radio_pdu_node_rx *radio_pdu_node_rx, u8_t *rx_enqueue) @@ -1541,6 +1542,7 @@ isr_rx_conn_pkt_ctrl_rej_phy_upd(struct radio_pdu_node_rx *radio_pdu_node_rx, } } } +#endif /* CONFIG_BLUETOOTH_CONTROLLER_PHY */ static inline void isr_rx_conn_pkt_ctrl_rej(struct radio_pdu_node_rx *radio_pdu_node_rx,