mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID:411 - Fix HPM.2 revision check for R1.1 and subsequent specification revisions.
This commit is contained in:
parent
f62b924cb4
commit
9020b67347
@ -128,7 +128,7 @@ int hpm2_get_capabilities(struct ipmi_intf * intf,
|
||||
#endif
|
||||
|
||||
/* 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",
|
||||
caps->hpm2_revision_id);
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user