Commit 76c5f41a authored by Cedric Roux's avatar Cedric Roux

check (to be reworked at some point)

We put an abort() at this point in the code, because
if the previous commit is correct, the program will
never comme here.
parent f7418e9f
...@@ -763,6 +763,8 @@ void schedule_ulsch_rnti(module_id_t module_idP, ...@@ -763,6 +763,8 @@ void schedule_ulsch_rnti(module_id_t module_idP,
} }
} }
if (drop_ue == 1) { if (drop_ue == 1) {
/* we can't come here, ulsch_scheduler_pre_processor won't put in the list a UE with no PHY context */
abort();
/* TODO: this is a hack. Sometimes the UE has no PHY context but /* TODO: this is a hack. Sometimes the UE has no PHY context but
* is still present in the MAC with 'ul_failure_timer' = 0 and * is still present in the MAC with 'ul_failure_timer' = 0 and
* 'ul_out_of_sync' = 0. It seems wrong and the UE stays there forever. Let's * 'ul_out_of_sync' = 0. It seems wrong and the UE stays there forever. Let's
......
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