X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_sys_info_hdl.c;h=a53e16215f4d10b5f29d5441ea2664f1418f6ddc;hb=4e2a29b15e4d8412c1af8d0ba9777be95ecc3ebb;hp=6644079e1b4ea8c9ea684c9c8660744039e82d27;hpb=c39df493d33e19557dbaded684cf6441c3ab8884;p=o-du%2Fl2.git diff --git a/src/du_app/du_sys_info_hdl.c b/src/du_app/du_sys_info_hdl.c index 6644079e1..a53e16215 100644 --- a/src/du_app/du_sys_info_hdl.c +++ b/src/du_app/du_sys_info_hdl.c @@ -333,7 +333,6 @@ uint8_t BuildMibMsg() uint8_t BuildCellIdentity(CellIdentity_t *cellIdentity) { cellIdentity->size = ODU_VALUE_FIVE*sizeof(uint8_t); - cellIdentity->bits_unused = ODU_VALUE_FOUR; DU_ALLOC(cellIdentity->buf, cellIdentity->size); if(!cellIdentity->buf) @@ -341,8 +340,7 @@ uint8_t BuildCellIdentity(CellIdentity_t *cellIdentity) DU_LOG("\nERROR --> DU APP: CellIdentity memory allocation failure"); return RFAILED; } - memset(cellIdentity->buf, 0, cellIdentity->size); - cellIdentity->buf[4] = duCfgParam.sib1Params.cellIdentity; + fillBitString(cellIdentity, ODU_VALUE_FOUR, ODU_VALUE_FIVE, duCfgParam.sib1Params.cellIdentity); return ROK; }