mirror of https://github.com/PentHertz/srsLTE.git
Release pending RAR if scheduler failed configuration
This commit is contained in:
parent
3847daa137
commit
1af24313e7
|
@ -431,6 +431,8 @@ int mac::rach_detected(uint32_t tti, uint32_t preamble_idx, uint32_t time_adv)
|
|||
bzero(&uecfg, sizeof(sched_interface::ue_cfg_t));
|
||||
uecfg.ue_bearers[0].direction = srsenb::sched_interface::ue_bearer_cfg_t::BOTH;
|
||||
if (scheduler.ue_cfg(last_rnti, &uecfg)) {
|
||||
// Release pending RAR
|
||||
bzero(&pending_rars[ra_id], sizeof(pending_rar_t));
|
||||
Error("Registering new user rnti=0x%x to SCHED\n", last_rnti);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue