sel: Fix "power supply inactive" flag offset

There was a wrong offset for the "Power Supply Inactive" flag,
hence the trigger on this event type could not be set.

Resolves ipmitool/ipmitool#280

Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
This commit is contained in:
Alexander Amelkin 2021-04-07 00:03:38 +03:00 committed by Alexander Amelkin
parent 6b1ce6c1ac
commit 59b7d6cf8f

View File

@ -256,7 +256,7 @@ static const struct ipmi_event_sensor_types sensor_specific_event_types[] = {
{ 0x08, 0x06, 0x03, "Config Error: Power Supply Rating Mismatch" }, { 0x08, 0x06, 0x03, "Config Error: Power Supply Rating Mismatch" },
{ 0x08, 0x06, 0x04, "Config Error: Voltage Rating Mismatch" }, { 0x08, 0x06, 0x04, "Config Error: Voltage Rating Mismatch" },
{ 0x08, 0x06, 0xff, "Config Error" }, { 0x08, 0x06, 0xff, "Config Error" },
{ 0x08, 0x06, 0xff, "Power Supply Inactive" }, { 0x08, 0x07, 0xff, "Power Supply Inactive" },
/* Power Unit */ /* Power Unit */
{ 0x09, 0x00, 0xff, "Power off/down" }, { 0x09, 0x00, 0xff, "Power off/down" },
{ 0x09, 0x01, 0xff, "Power cycle" }, { 0x09, 0x01, 0xff, "Power cycle" },