Bluetooth: controller: Fix compile error when PHY update disabled
Fixed compile error when PHY update feature is disabled. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
021b12328a
commit
f3be631625
1 changed files with 4 additions and 1 deletions
|
@ -2302,8 +2302,11 @@ static inline u8_t isr_rx_conn_pkt_ctrl_dle(struct pdu_data *pdu_data_rx,
|
|||
|
||||
/* No change in effective octets or time */
|
||||
if (eff_tx_octets == _radio.conn_curr->max_tx_octets &&
|
||||
#if defined(CONFIG_BT_CTLR_PHY)
|
||||
eff_tx_time == _radio.conn_curr->max_tx_time &&
|
||||
eff_rx_time == _radio.conn_curr->max_rx_time) {
|
||||
eff_rx_time == _radio.conn_curr->max_rx_time &&
|
||||
#endif /* CONFIG_BT_CTLR_PHY */
|
||||
(1)) {
|
||||
goto send_length_resp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue