srsue,mac: do not add sbsr_ce on Msg3

This commit is contained in:
Ismael Gomez 2022-03-14 09:45:04 +01:00
parent 496b8e2748
commit 7bb6aa1f50
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ srsran::unique_byte_buffer_t mux_nr::get_pdu(uint32_t max_pdu_len)
// Pack normal UL data PDU
int32_t remaining_len = tx_pdu.get_remaing_len(); // local variable to reserve space for CEs
if (add_bsr_ce == sbsr_ce) {
if (!msg3_is_pending() && add_bsr_ce == sbsr_ce) {
// reserve space for SBSR
remaining_len -= 2;
}