Skip to content

Commit e997fc4

Browse files
wyfosashacmc
andauthored
Update src/transport/unicast/rx.c
Co-authored-by: Alexander Bushnev <[email protected]>
1 parent 8c55511 commit e997fc4

File tree

1 file changed

+1
-1
lines changed
  • src/transport/unicast

1 file changed

+1
-1
lines changed

src/transport/unicast/rx.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ z_result_t _z_unicast_handle_transport_message(_z_transport_unicast_t *ztu, _z_t
146146
if (_Z_HAS_FLAG(t_msg->_header, _Z_FLAG_T_FRAME_R) == true) {
147147
// @TODO: amend once reliability is in place. For the time being only
148148
// monotonic SNs are ensured
149-
if (_z_sn_precedes(ztu->_sn_res, ztu->_sn_rx_reliable, t_msg->_body._frame._sn) == true) {
149+
if (_z_sn_precedes(ztu->_sn_res, ztu->_sn_rx_reliable, t_msg->_body._frame._sn)) {
150150
bool consecutive =
151151
_z_sn_consecutive(ztu->_sn_res, ztu->_sn_rx_reliable, t_msg->_body._fragment._sn);
152152
ztu->_sn_rx_reliable = t_msg->_body._frame._sn;

0 commit comments

Comments
 (0)