ul_harq: don't clear payload buffer during HARQ reset

this fixes #1791 which was caused by a race between
the PHY workers preparing a new UL-SCH PDU and the Stack resetting
the MAC, which in turn resets the HARQ processeses, which cleared
the buffer and set the length to zero.

Not explicitly clearing the buffer on a HARQ reset seems to be
fine since the PHY worker clears the buffer before starting to
pack a new PDU anyway.
This commit is contained in:
Andre Puschmann 2020-10-02 10:22:46 +02:00
parent b08a586fd4
commit e72219789e
1 changed files with 0 additions and 1 deletions

View File

@ -169,7 +169,6 @@ void ul_harq_entity::ul_harq_process::reset()
current_irv = 0;
is_grant_configured = false;
bzero(&cur_grant, sizeof(mac_interface_phy_lte::mac_grant_ul_t));
payload_buffer->clear();
}
void ul_harq_entity::ul_harq_process::reset_ndi()