Skip to content
Commit 66871b4d authored by Thu Nguyen's avatar Thu Nguyen
Browse files

pldmtool: Use instanceId from libpldm for raw command



In the pldmtool raw command, instanceId is inputted in raw data. It
does  not use the retrievedi one from the instanceId database by
exec() in pldm_cmd_helper. This causes the failure when the response
handler frees this provided instanceId because that instanceID is not
in libpldm database. To fix that, the inputted instanceId will be
ignored and the retrieved instanceId from libpldm will be used.

Tested:
1. No "Invalid instance ID" in the journal log when running "pldmtool
raw" commands.

Signed-off-by: default avatarThu Nguyen <thu@os.amperecomputing.com>
Change-Id: I310f699e2d87ba2fa16b69350fdd7fa69d9598f9
parent 499a29dd
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