Commit 82e8d8d3 authored by Melissa Elkadi's avatar Melissa Elkadi

Reverting incorrect CALLOC

parent bb7ba11f
...@@ -324,7 +324,7 @@ static void copy_dl_tti_req_to_dl_info(nr_downlink_indication_t *dl_info, nfapi_ ...@@ -324,7 +324,7 @@ static void copy_dl_tti_req_to_dl_info(nr_downlink_indication_t *dl_info, nfapi_
{ {
if (!dl_info->dci_ind && pdu_idx == 0) if (!dl_info->dci_ind && pdu_idx == 0)
{ {
dl_info->dci_ind = CALLOC(num_dcis, sizeof(fapi_nr_dci_indication_t)); dl_info->dci_ind = CALLOC(1, sizeof(fapi_nr_dci_indication_t));
} }
dl_info->dci_ind->SFN = dl_tti_request->SFN; dl_info->dci_ind->SFN = dl_tti_request->SFN;
dl_info->dci_ind->slot = dl_tti_request->Slot; dl_info->dci_ind->slot = dl_tti_request->Slot;
......
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