openhpi2 / Open-HPI

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
Other
3 stars 1 forks source link

ipmidirect: Check correct variable for resource managed capability #2612

Closed openhpi2 closed 8 years ago

openhpi2 commented 8 years ago

In impi_resource.cpp, the check for a Managed Hotswap was happening in a value which hadn't been initialized yet. This was causing HPI to report managed hotswap sensors changing states from ACTIVE to NOT_PRESENT, since the check was always returning false.

The attached patch fix this issue.

Reported by: rdossant

openhpi2 commented 8 years ago

Original comment by: openhpi2

openhpi2 commented 8 years ago

Fixed in trunk revision 7668

Original comment by: openhpi2