diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-08 22:59:02 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-08 22:59:02 +0200 |
commit | 342ebce798fe98ede64939a49bbc3770d8214649 (patch) | |
tree | b55927f05ec0d294ababcb2b4519b7e1a628d5f8 /lib/hpm2.c | |
parent | 97d6a2e491c6ed08473beb2c4bac47c5cbc1201a (diff) |
Imported Upstream version 1.8.17upstream/1.8.17
Diffstat (limited to 'lib/hpm2.c')
-rw-r--r-- | lib/hpm2.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -36,6 +36,12 @@ #include <ipmitool/log.h> #include <ipmitool/bswap.h> +/* From src/plugins/ipmi_intf.c: */ +void +ipmi_intf_set_max_request_data_size(struct ipmi_intf * intf, uint16_t size); +void +ipmi_intf_set_max_response_data_size(struct ipmi_intf * intf, uint16_t size); + #if HAVE_PRAGMA_PACK # pragma pack(push, 1) #endif @@ -128,7 +134,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; |