Index: NVDataMgmt.c =================================================================== diff -u -r8119125ec55f7e9c9c8f011544b3f2fb8a4f8308 -ra91b0f0fa177061cb45184620e2c46b0484c3d56 --- NVDataMgmt.c (.../NVDataMgmt.c) (revision 8119125ec55f7e9c9c8f011544b3f2fb8a4f8308) +++ NVDataMgmt.c (.../NVDataMgmt.c) (revision a91b0f0fa177061cb45184620e2c46b0484c3d56) @@ -2983,16 +2983,16 @@ if ( TRUE == isCheckRequired ) { spec = RECORDS_SPECS [ i ]; - calcCRC = crc16 ( spec.structAddressPtr, spec.sizeofJob - sizeof(U16) ); - recordCRC = *(U16*)spec.structCRCPtr; + calcCRC = crc16 ( spec.structAddressPtr, spec.sizeofJob - sizeof(U16) ); + recordCRC = *(U16*)spec.structCRCPtr; - // If the CRCs do not match, break out of loop since POST will be failed - // regardless of the rest of the results - if ( calcCRC != recordCRC ) - { - SET_ALARM_WITH_1_U32_DATA( ALARM_ID_NVDATAMGMT_GROUP_RECORD_CRC_INVALID, i ); - status = FALSE; - } + // If the CRCs do not match, break out of loop since POST will be failed + // regardless of the rest of the results + if ( calcCRC != recordCRC ) + { + SET_ALARM_WITH_1_U32_DATA( ALARM_ID_NVDATAMGMT_GROUP_RECORD_CRC_INVALID, i ); + status = FALSE; + } } }