Skip to content

Commit

Permalink
Update src/transport/unicast/rx.c
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Bushnev <[email protected]>
  • Loading branch information
wyfo and sashacmc authored Dec 4, 2024
1 parent daa56a0 commit 1ba505b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/unicast/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ z_result_t _z_unicast_handle_transport_message(_z_transport_unicast_t *ztu, _z_t
#if Z_FEATURE_FRAGMENTATION == 1
_z_wbuf_t *dbuf;
// Check if the SN is correct and select the right defragmentation buffer
if (_Z_HAS_FLAG(t_msg->_header, _Z_FLAG_T_FRAME_R) == true) {
if (_Z_HAS_FLAG(t_msg->_header, _Z_FLAG_T_FRAME_R)) {
// @TODO: amend once reliability is in place. For the time being only
// monotonic SNs are ensured
if (_z_sn_precedes(ztu->_sn_res, ztu->_sn_rx_reliable, t_msg->_body._frame._sn)) {
Expand Down

0 comments on commit 1ba505b

Please sign in to comment.