Move IBM's OEM state sets oem/ibm/libpldm/state_set.h
Previously the OEM state sets that IBM uses were definied in the
libpldmresponder directory, this is not ideal if the state set
id constants need to be used in a request. This commit moves these
definitions to the new file oem/ibm/libpldm/state_set.h which
is how the common state sets are defined.
Signed-off-by: Christian Geddes <crgeddes@us.ibm.com>
Change-Id: I14d94b1b003e73c733085688721081f9fee7f56d
diff --git a/oem/ibm/libpldmresponder/oem_ibm_handler.cpp b/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
index fec9ec7..c3bff2e 100644
--- a/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
+++ b/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
@@ -240,7 +240,7 @@
auto state =
reinterpret_cast<state_sensor_possible_states*>(possibleStates);
if ((stateSetID == PLDM_OEM_IBM_BOOT_STATE) ||
- (stateSetID == oem_ibm_platform::PLDM_OEM_IBM_VERIFICATION_STATE))
+ (stateSetID == PLDM_OEM_IBM_VERIFICATION_STATE))
state->states[0].byte = 6;
else if (stateSetID == PLDM_OEM_IBM_FIRMWARE_UPDATE_STATE)
state->states[0].byte = 126;