Commit cb1ee9fb authored by Francesco Mani's avatar Francesco Mani

another bugfix nr_initial_sync

parent a4ee3b83
......@@ -81,7 +81,7 @@ NR_UE_SSB* insert_into_list(NR_UE_SSB *head, NR_UE_SSB *node) {
NR_UE_SSB *current = head;
while (current->next_ssb !=NULL) {
NR_UE_SSB *temp=current->next_ssb;
if(node->metric > current->metric) {
if(node->metric > temp->metric) {
node->next_ssb = temp;
current->next_ssb = node;
return head;
......
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