PLDM: Fix for handling invalid event state
This commit makes a quick fix for handling the invalid event
state. This corrects the behaviour of the pldm responder where
it reports the error from the host side rather than the BMC side.
Tested on rainier.
Change-Id: I66e5f64aa00d40c1b8bb73f30e5338f6db521e8f
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json b/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
index 1eb8c8a..e7ddc2b 100644
--- a/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
+++ b/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
@@ -7,7 +7,8 @@
"sensorOffset": 1,
"event_states": [
1,
- 2
+ 2,
+ 3
],
"dbus": {
"object_path": "/xyz/openbmc_project/network/hypervisor/eth0/ipv4/addr0",
@@ -16,6 +17,7 @@
"property_type": "bool",
"property_values": [
true,
+ false,
false
]
}
@@ -27,7 +29,8 @@
"sensorOffset": 1,
"event_states": [
1,
- 2
+ 2,
+ 3
],
"dbus": {
"object_path": "/xyz/openbmc_project/network/hypervisor/eth1/ipv4/addr0",
@@ -36,9 +39,10 @@
"property_type": "bool",
"property_values": [
true,
+ false,
false
]
}
}
]
-}
\ No newline at end of file
+}