ID:411 - Fix HPM.2 revision check for R1.1 and subsequent specification revisions.

This commit is contained in:
Dmitry Bazhenov 2016-01-12 21:16:37 +05:00 committed by Zdenek Styblik
parent f62b924cb4
commit 9020b67347

View File

@ -128,7 +128,7 @@ int hpm2_get_capabilities(struct ipmi_intf * intf,
#endif #endif
/* check HPM.2 revision */ /* check HPM.2 revision */
if (caps->hpm2_revision_id != HPM2_REVISION) { if (caps->hpm2_revision_id == 0) {
lprintf(LOG_NOTICE, "Bad HPM.2 revision, rev=%d", lprintf(LOG_NOTICE, "Bad HPM.2 revision, rev=%d",
caps->hpm2_revision_id); caps->hpm2_revision_id);
return -1; return -1;