mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-01 19:07:51 +00:00
Taking care of review comments
This commit is contained in:
@@ -773,8 +773,9 @@ int32_t ocmw_send_msg(OCMPMessageFrame ecMsgFrame, uint8_t interface)
|
||||
ocmw_recv_eth_msgfrom_ec(ethRecvBuf,
|
||||
sizeof(ethRecvBuf), OCMW_EC_STUB_DEV);
|
||||
ocmw_ec_msgparser();
|
||||
if (alertRecord == 0)
|
||||
if (alertRecord == 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
memset(ethRecvBuf, 0, sizeof(ethRecvBuf));
|
||||
|
||||
@@ -209,8 +209,9 @@ ocware_stub_ret ocware_stub_frame_alert_msgframe(char *buffer)
|
||||
if (subSystemNbr != 0) {
|
||||
for (subsystemIndex = 0; subsystemIndex < allAlertCount;
|
||||
subsystemIndex++) {
|
||||
if (alertGlobalData[subsystemIndex].subsystemId == subSystemNbr)
|
||||
if (alertGlobalData[subsystemIndex].subsystemId == subSystemNbr) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
alertIndex = subsystemIndex;
|
||||
while (alertGlobalData[alertIndex].subsystemId == subSystemNbr)
|
||||
|
||||
Reference in New Issue
Block a user