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
Changing the buildPlmnId function
[o-du/l2.git]
/
src
/
du_app
/
du_sys_info_hdl.c
diff --git
a/src/du_app/du_sys_info_hdl.c
b/src/du_app/du_sys_info_hdl.c
index
5106fdc
..
0fb3fe4
100644
(file)
--- a/
src/du_app/du_sys_info_hdl.c
+++ b/
src/du_app/du_sys_info_hdl.c
@@
-174,7
+174,7
@@
uint8_t BuildMibPdu()
uint8_t ret = RFAILED;
BCCH_BCH_Message_t *bcchMsg;
asn_enc_rval_t encRetVal; /* Encoder return value */
uint8_t ret = RFAILED;
BCCH_BCH_Message_t *bcchMsg;
asn_enc_rval_t encRetVal; /* Encoder return value */
- while(
1
)
+ while(
true
)
{
DU_ALLOC(bcchMsg, sizeof(BCCH_BCH_Message_t));
if(!bcchMsg)
{
DU_ALLOC(bcchMsg, sizeof(BCCH_BCH_Message_t));
if(!bcchMsg)
@@
-196,7
+196,7
@@
uint8_t BuildMibPdu()
break;
}
xer_fprint(stdout, &asn_DEF_BCCH_BCH_Message, bcchMsg);
break;
}
xer_fprint(stdout, &asn_DEF_BCCH_BCH_Message, bcchMsg);
-
cmM
emset((uint8_t *)encBuf, 0, ENC_BUF_MAX_LEN);
+
m
emset((uint8_t *)encBuf, 0, ENC_BUF_MAX_LEN);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_BCCH_BCH_Message, 0,
bcchMsg, PrepFinalEncBuf, encBuf);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_BCCH_BCH_Message, 0,
bcchMsg, PrepFinalEncBuf, encBuf);
@@
-278,7
+278,7
@@
uint8_t BuildMibMsg()
asn_enc_rval_t encRetVal; /* Encoder return value */
uint8_t ret = RFAILED;
uint8_t BuildMibret;
asn_enc_rval_t encRetVal; /* Encoder return value */
uint8_t ret = RFAILED;
uint8_t BuildMibret;
- while(
1
)
+ while(
true
)
{
DU_ALLOC(mibMsg, sizeof(MIB_t));
if(!mibMsg)
{
DU_ALLOC(mibMsg, sizeof(MIB_t));
if(!mibMsg)
@@
-292,7
+292,7
@@
uint8_t BuildMibMsg()
break;
}
xer_fprint(stdout, &asn_DEF_MIB, mibMsg);
break;
}
xer_fprint(stdout, &asn_DEF_MIB, mibMsg);
-
cmM
emset((uint8_t *)encBuf, 0, ENC_BUF_MAX_LEN);
+
m
emset((uint8_t *)encBuf, 0, ENC_BUF_MAX_LEN);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_MIB, 0,
mibMsg, PrepFinalEncBuf, encBuf);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_MIB, 0,
mibMsg, PrepFinalEncBuf, encBuf);
@@
-2342,7
+2342,7
@@
uint8_t BuildSib1Msg()
xer_fprint(stdout, &asn_DEF_SIB1, sib1Msg);
/* Encode the F1SetupRequest type as APER */
xer_fprint(stdout, &asn_DEF_SIB1, sib1Msg);
/* Encode the F1SetupRequest type as APER */
-
cmM
emset((uint8_t *)encBuf, 0, ENC_BUF_MAX_LEN);
+
m
emset((uint8_t *)encBuf, 0, ENC_BUF_MAX_LEN);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_SIB1, 0, sib1Msg, PrepFinalEncBuf,\
encBuf);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_SIB1, 0, sib1Msg, PrepFinalEncBuf,\
encBuf);
@@
-2363,7
+2363,7
@@
uint8_t BuildSib1Msg()
ret = ROK;
break;
ret = ROK;
break;
- }while(
1
);
+ }while(
true
);
FreeSib1Msg(sib1Msg);
FreeSib1Msg(sib1Msg);