lib,rlc_am_nr: cosmetic change in assert rx_highest_status

master
Robert Falkenberg 3 years ago
parent 77ae5182a6
commit aabd22f493

@ -1436,8 +1436,7 @@ void rlc_am_nr_rx::timer_expired(uint32_t timeout_id)
} }
} }
st.rx_highest_status = sn_upd; st.rx_highest_status = sn_upd;
srsran_assert(rx_mod_base_nr(st.rx_next) < rx_mod_base_nr(sn_upd), srsran_assert(inside_rx_window(st.rx_highest_status), "Error: rx_highest_status assigned outside rx window");
"Error: rx_highest_status assigned outside receive window");
bool restart_reassembly_timer = false; bool restart_reassembly_timer = false;
if (rx_mod_base_nr(st.rx_next_highest) > rx_mod_base_nr(st.rx_highest_status + 1)) { if (rx_mod_base_nr(st.rx_next_highest) > rx_mod_base_nr(st.rx_highest_status + 1)) {

Loading…
Cancel
Save