Commit 27975f99 authored by francescomani's avatar francescomani

fix for MSG3 buffer when retransmitting

parent e31d87ee
...@@ -630,7 +630,7 @@ void nr_get_msg3_payload(NR_UE_MAC_INST_t *mac, uint8_t *buf, int TBS_max) ...@@ -630,7 +630,7 @@ void nr_get_msg3_payload(NR_UE_MAC_INST_t *mac, uint8_t *buf, int TBS_max)
// we already stored MSG3 in the buffer, we can use that // we already stored MSG3 in the buffer, we can use that
if (ra->Msg3_buffer) { if (ra->Msg3_buffer) {
buf = ra->Msg3_buffer; memcpy(buf, ra->Msg3_buffer, sizeof(uint8_t) * TBS_max);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment