Bluetooth: controller: Remove compiler specific warning

Some compilers can't resolve the conditional if/else/else construction
in ull_conn event_len_prep function, and fail with an 'uninitialized
variables' error. The change has no functional impact.

Signed-off-by: Morten Priess <mtpr@oticon.com>
This commit is contained in:
Morten Priess 2020-02-04 13:14:51 +01:00 committed by Alberto Escolar
commit c1cb5ea540

View file

@ -3136,8 +3136,8 @@ static inline void event_len_prep(struct ll_conn *conn)
struct pdu_data_llctrl_length_req *lr;
struct pdu_data *pdu_ctrl_tx;
struct node_tx *tx;
u16_t rx_time;
u16_t tx_time;
u16_t rx_time = 0;
u16_t tx_time = 0;
/*
* Using bool instead of u8_t increases code size
* in this case.