diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-01 12:21:52 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-01 12:21:52 +0100 |
commit | 096a497b36f208fb68a12c7ae7576ca0a69f919d (patch) | |
tree | 3845c9631fab6a3a6177813367ddd03f7867700b /lib/hpm2.c | |
parent | 7b5768ae6a3fee6cb80300824b9e758021b22f2e (diff) | |
parent | 55031e72e6c02b4ae63e9052bad1a4b40002ac18 (diff) |
Import new upstream release 1.8.15
Diffstat (limited to 'lib/hpm2.c')
-rw-r--r-- | lib/hpm2.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -30,6 +30,7 @@ * EVEN IF PPS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ +#include <ipmitool/bswap.h> #include <ipmitool/hpm2.h> #include <ipmitool/ipmi_intf.h> #include <ipmitool/log.h> @@ -233,7 +234,8 @@ int hpm2_get_lan_channel_capabilities(struct ipmi_intf * intf, } /* check parameter revision */ - if (rsp->data[0] != HPM2_LAN_PARAMS_REV) { + if (rsp->data[0] != + LAN_PARAM_REV(HPM2_LAN_PARAMS_REV, HPM2_LAN_PARAMS_REV)) { lprintf(LOG_NOTICE, "Bad HPM.2 LAN parameter revision, rev=%d", rsp->data[0]); return -1; |