nr,gnb,mac: fix RAR encoding by resetting the RAR buffer

master
Francisco 3 years ago committed by Francisco Paisana
parent af0bc36de9
commit 4e49508d8f

@ -215,6 +215,7 @@ int mac_rar_pdu_nr::init_tx(byte_buffer_t* buffer_, uint32_t pdu_len_)
return SRSRAN_ERROR;
}
buffer = buffer_;
buffer->N_bytes = 0;
subpdus.clear();
pdu_len = pdu_len_;
remaining_len = pdu_len_;

Loading…
Cancel
Save