mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-07-04 03:01:36 +00:00
ID:344 - Fix HPM.2 long message support
Due to a typo in the result checking. HPM.2 long message support detection does not work.
This commit is contained in:
@@ -213,8 +213,8 @@ int hpm2_get_lan_channel_capabilities(struct ipmi_intf * intf,
|
|||||||
/* send */
|
/* send */
|
||||||
rsp = intf->sendrecv(intf, &req);
|
rsp = intf->sendrecv(intf, &req);
|
||||||
|
|
||||||
if (rsp) {
|
if (!rsp) {
|
||||||
lprintf(LOG_NOTICE, "Error sending request");
|
lprintf(LOG_NOTICE, "Error sending request.");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user