forked from ibm-openbmc/pldm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the looping behaviour in the getstatesensorreading command
This bug was actually caused by two host sensors that has the exact same entity id, instance id, container id but being used to implement different state sets. The old host code had two sensors on processor module that implements both stateset 1 & 11 that caused this regression and using this PR we have improved the sensor parsing abilities so that we can compare the state setId as well before deciding that a sensor is unique. Signed-off-by: Manojkiran Eda <[email protected]>
- Loading branch information
1 parent
2cb06bc
commit ddf6a1c
Showing
4 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters