mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +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:
parent
0eaa2eae51
commit
1cf65c3236
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user