Commit 9a03c5b0 authored by Robert Schmidt's avatar Robert Schmidt

Check that UE is active

parent 66f18732
......@@ -726,6 +726,8 @@ void nr_sr_reporting(int Mod_idP, frame_t SFN, sub_frame_t slot)
const int n_slots_frame = nr_slots_per_frame[*scc->ssbSubcarrierSpacing];
const int UE_id = 0;
NR_UE_info_t *UE_info = &RC.nrmac[Mod_idP]->UE_info;
if (!UE_info->active[UE_id])
return;
NR_PUCCH_ResourceSet_t *pucchresset;
NR_sched_pucch_t *curr_pucch;
NR_SchedulingRequestResourceConfig_t *SchedulingRequestResourceConfig;
......
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