Fix the Sensor Offset in the host_pdr_handler
The commit fixes the issue being faced by composite state sensor for more than one element. Prior to the fix the sensor offset was hardcoded to the last sensor which works for the case when only one element is there but for more than one element issue arises as always the last sensor is updated. The commit updates the sensor offset value iteratively. RESOLVES : https://github.com/openbmc/pldm/issues/35 Change-Id: I94ce27af44266f3d10158e35d2b8caa366a8f3aa Signed-off-by:Riya Dixit <riyadixitagra@gmail.com>
Loading
Please register or sign in to comment