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
[ JIRA Id - ODUHIGH-606 ] Fixing null memory size allocation issue
[o-du/l2.git]
/
src
/
du_app
/
du_cell_mgr.c
diff --git
a/src/du_app/du_cell_mgr.c
b/src/du_app/du_cell_mgr.c
index
b0eb865
..
947014d
100644
(file)
--- a/
src/du_app/du_cell_mgr.c
+++ b/
src/du_app/du_cell_mgr.c
@@
-48,6
+48,7
@@
#endif
#endif
+GConfiguration gConfigInfo;
DuMacCellDeleteReq packMacCellDeleteReqOpts[] =
{
packDuMacCellDeleteReq, /* Loose coupling */
DuMacCellDeleteReq packMacCellDeleteReqOpts[] =
{
packDuMacCellDeleteReq, /* Loose coupling */
@@
-366,7
+367,7
@@
uint8_t duHandleCellUpInd(Pst *pst, OduCellId *cellId)
{
DU_LOG("\nINFO --> DU APP : 5G-NR Cell %d is UP", cellId->cellId);
cellCb->cellStatus = ACTIVATED;
{
DU_LOG("\nINFO --> DU APP : 5G-NR Cell %d is UP", cellId->cellId);
cellCb->cellStatus = ACTIVATED;
- gCellStatus = CELL_UP;
+ gC
onfigInfo.gC
ellStatus = CELL_UP;
if(duCfgParam.tempSliceCfg.numOfRrmPolicy)
BuildAndSendSliceConfigReq();
if(duCfgParam.tempSliceCfg.numOfRrmPolicy)
BuildAndSendSliceConfigReq();
@@
-425,7
+426,7
@@
uint8_t DuProcMacCellDeleteRsp(Pst *pst, MacCellDeleteRsp *deleteRsp)
}
memset(duCb.actvCellLst[cellIdx], 0, sizeof(DuCellCb));
}
memset(duCb.actvCellLst[cellIdx], 0, sizeof(DuCellCb));
- gCellStatus = CELL_DOWN;
+ gC
onfigInfo.gC
ellStatus = CELL_DOWN;
#ifdef O1_ENABLE
DU_LOG("\nINFO --> DU APP : Raise cell down alarm for cell id=%d", deleteRsp->cellId);
#ifdef O1_ENABLE
DU_LOG("\nINFO --> DU APP : Raise cell down alarm for cell id=%d", deleteRsp->cellId);
@@
-436,7
+437,6
@@
uint8_t DuProcMacCellDeleteRsp(Pst *pst, MacCellDeleteRsp *deleteRsp)
duCb.numActvCells--;
duCb.numCfgCells--;
DU_FREE(duCb.actvCellLst[cellIdx], sizeof(DuCellCb));
duCb.numActvCells--;
duCb.numCfgCells--;
DU_FREE(duCb.actvCellLst[cellIdx], sizeof(DuCellCb));
-
}
else
{
}
else
{