Commit 363b4021 authored by Robert Schmidt's avatar Robert Schmidt

fixup of fix

parent 170ee6ba
......@@ -457,6 +457,9 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
* it. */
for (int i = 0; i < NR_NB_RA_PROC_MAX; ++i) {
NR_RA_t *ra = &gNB_mac->common_channels[CC_idP].ra[i];
if (ra->state != WAIT_Msg3)
continue;
// random access pusch with TC-RNTI
if (ra->rnti != current_rnti) {
LOG_W(MAC,
......@@ -466,8 +469,8 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
continue;
}
if (ra->state == WAIT_Msg3 && !sduP) {
LOG_E(MAC,
if (!sduP) {
LOG_w(MAC,
"%4d.%2d did not receive Msg 3 for RA RNTI %04x, resetting to State RA_IDLE\n",
frameP,
slotP,
......@@ -476,9 +479,6 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
continue;
}
if (ra->state != WAIT_Msg3)
continue;
const int UE_id = add_new_nr_ue(gnb_mod_idP, ra->rnti, ra->secondaryCellGroup);
UE_info->UE_beam_index[UE_id] = ra->beam_id;
LOG_I(MAC,
......
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