diff --git a/src/transport/unicast/rx.c b/src/transport/unicast/rx.c index e3aaba59f..b0d82abf9 100644 --- a/src/transport/unicast/rx.c +++ b/src/transport/unicast/rx.c @@ -151,7 +151,7 @@ z_result_t _z_unicast_handle_transport_message(_z_transport_unicast_t *ztu, _z_t _z_sn_consecutive(ztu->_sn_res, ztu->_sn_rx_reliable, t_msg->_body._fragment._sn); ztu->_sn_rx_reliable = t_msg->_body._frame._sn; dbuf = &ztu->_dbuf_reliable; - if (consecutive == false) { + if (!consecutive) { _Z_DEBUG("Non-consecutive fragments received"); _z_wbuf_reset(dbuf); break;