extern S16 cmPkLrgCfgReq(Pst *pst, RgMngmt *cfg);
extern S16 BuildAndSendE2SetupReq();
extern S16 egtpHdlDatInd(EgtpMsg egtpMsg);
-extern S16 BuildAndSendDUConfigUpdate();
+extern uint8_t BuildAndSendDUConfigUpdate();
extern U16 getTransId();
extern S16 cmPkLrgSchCfgReq(Pst * pst,RgMngmt * cfg);
U16 idx;
for(idx=0; idx< DEFAULT_CELLS; idx++)
{
- DuCellCb *cell;
+ DuCellCb *cell = NULLP;
DU_ALLOC(cell, sizeof(DuCellCb))
if(cell == NULLP)
{
U32 nci;
U8 idx1;
memset(cell, 0, sizeof(DuCellCb));
- cell->cellId = cellId++;
+ cell->cellId = ++cellId;
cell->cellInfo.nrEcgi.plmn.mcc[0] = PLMN_MCC0;
cell->cellInfo.nrEcgi.plmn.mcc[1] = PLMN_MCC1;
cell->cellInfo.nrEcgi.plmn.mcc[2] = PLMN_MCC2;