Commit 0ffdb843 authored by francescomani's avatar francescomani

review fix

parent ddbfd6ca
...@@ -1551,7 +1551,6 @@ bool test_acknack_vrb_occupation(NR_UE_sched_ctrl_t *sched_ctrl, ...@@ -1551,7 +1551,6 @@ bool test_acknack_vrb_occupation(NR_UE_sched_ctrl_t *sched_ctrl,
} }
// verifying occupation of PRBs for ACK/NACK on dedicated pucch // verifying occupation of PRBs for ACK/NACK on dedicated pucch
bool ret = true;
for (int l=0; l<pucch->nr_of_symb; l++) { for (int l=0; l<pucch->nr_of_symb; l++) {
uint16_t symb = SL_to_bitmap(pucch->start_symb+l, 1); uint16_t symb = SL_to_bitmap(pucch->start_symb+l, 1);
int prb; int prb;
...@@ -1560,11 +1559,11 @@ bool test_acknack_vrb_occupation(NR_UE_sched_ctrl_t *sched_ctrl, ...@@ -1560,11 +1559,11 @@ bool test_acknack_vrb_occupation(NR_UE_sched_ctrl_t *sched_ctrl,
else else
prb = pucch->prb_start; prb = pucch->prb_start;
if ((vrb_map_UL[bwp_start+prb] & symb) != 0) { if ((vrb_map_UL[bwp_start+prb] & symb) != 0) {
ret = false; return false;
break; break;
} }
} }
return ret; return true;
} }
......
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