fw_update: Use fw_update specific completion codes
`PLDM_INVALID_TRANSFER_OPERATION_FLAG` value as stated in base.h `0x21`
is incorrect as per the PLDM Base specification. Reduce its usage by
leveraging the FWUP specific completion codes for
encode_pass_component_table_req() command.
Change-Id: I679c90326ec4c150888e71f858a3375ee9f5ad29
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/src/dsp/firmware_update.c b/src/dsp/firmware_update.c
index 7534e3a..ea8cfd2 100644
--- a/src/dsp/firmware_update.c
+++ b/src/dsp/firmware_update.c
@@ -1892,7 +1892,7 @@
}
if (!is_transfer_flag_valid(transfer_flag)) {
- return PLDM_INVALID_TRANSFER_OPERATION_FLAG;
+ return PLDM_FWUP_INVALID_TRANSFER_OPERATION_FLAG;
}
if (!is_string_type_valid(comp_ver_str_type)) {