Skip to content

Commit f3be631

Browse files
cvinayaknashif
authored andcommitted
Bluetooth: controller: Fix compile error when PHY update disabled
Fixed compile error when PHY update feature is disabled. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 021b123 commit f3be631

File tree

1 file changed

+4
-1
lines changed
  • subsys/bluetooth/controller/ll_sw

1 file changed

+4
-1
lines changed

subsys/bluetooth/controller/ll_sw/ctrl.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2302,8 +2302,11 @@ static inline u8_t isr_rx_conn_pkt_ctrl_dle(struct pdu_data *pdu_data_rx,
23022302

23032303
/* No change in effective octets or time */
23042304
if (eff_tx_octets == _radio.conn_curr->max_tx_octets &&
2305+
#if defined(CONFIG_BT_CTLR_PHY)
23052306
eff_tx_time == _radio.conn_curr->max_tx_time &&
2306-
eff_rx_time == _radio.conn_curr->max_rx_time) {
2307+
eff_rx_time == _radio.conn_curr->max_rx_time &&
2308+
#endif /* CONFIG_BT_CTLR_PHY */
2309+
(1)) {
23072310
goto send_length_resp;
23082311
}
23092312

0 commit comments

Comments
 (0)