lib,rlc: ack_sn does not count as a positive or negative acknowledgment.

do not stop t-PollRetransmit for it
This commit is contained in:
Pedro Alvarez 2022-07-07 17:11:57 +01:00
parent 7ac7c8673a
commit f5658619b8
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ void rlc_am_nr_tx::handle_control_pdu(uint8_t* payload, uint32_t nof_bytes)
* - if t-PollRetransmit is running:
* - stop and reset t-PollRetransmit.
*/
if (tx_mod_base_nr(st.poll_sn) <= tx_mod_base_nr(status.ack_sn)) {
if (tx_mod_base_nr(st.poll_sn) < tx_mod_base_nr(status.ack_sn)) {
if (poll_retransmit_timer.is_running()) {
RlcDebug("Received ACK or NACK for POLL_SN=%d. Stopping t-PollRetransmit", st.poll_sn);
poll_retransmit_timer.stop();