Skip to content
Commit bb5fda46 authored by RIYA DIXIT's avatar RIYA DIXIT Committed by RiyaDixit
Browse files

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: default avatarRiya Dixit <riyadixitagra@gmail.com>
parent 3e5a3304
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment