openhpi2 / openhpi_bug_test

0 stars 0 forks source link

ipmidirect: Check correct variable for resource managed capability #1911

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