Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
PUCCH CHANGES AT SCH AND LOWER MAC
[o-du/l2.git]
/
src
/
5gnrmac
/
rg_lmm.c
diff --git
a/src/5gnrmac/rg_lmm.c
b/src/5gnrmac/rg_lmm.c
index
9e49c55
..
68321b7
100755
(executable)
--- a/
src/5gnrmac/rg_lmm.c
+++ b/
src/5gnrmac/rg_lmm.c
@@
-2114,7
+2114,7
@@
int MacHdlCellCfgReq
Pst cfmPst;
uint16_t ret = ROK;
RgCellCb *cellCb;
Pst cfmPst;
uint16_t ret = ROK;
RgCellCb *cellCb;
- MacCellCb *macCellCb;
+ MacCellCb *macCellCb
= NULLP
;
Inst inst = pst->dstInst;
cmMemset((U8 *)&cfmPst, 0, sizeof(Pst));
Inst inst = pst->dstInst;
cmMemset((U8 *)&cfmPst, 0, sizeof(Pst));
@@
-2135,6
+2135,7
@@
int MacHdlCellCfgReq
DU_LOG("\nMAC : macCellCb is NULL at handling of macCellCfg\n");
return RFAILED;
}
DU_LOG("\nMAC : macCellCb is NULL at handling of macCellCfg\n");
return RFAILED;
}
+ memset(macCellCb, 0, sizeof(MacCellCb));
macCb.macCell = macCellCb;
macCb.macCell->cellId = macCellCfg->cellId;
/* Send cell cfg to scheduler */
macCb.macCell = macCellCb;
macCb.macCell->cellId = macCellCfg->cellId;
/* Send cell cfg to scheduler */