mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-01 10:13:35 +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 */
|
||||
rsp = intf->sendrecv(intf, &req);
|
||||
|
||||
if (rsp) {
|
||||
lprintf(LOG_NOTICE, "Error sending request");
|
||||
if (!rsp) {
|
||||
lprintf(LOG_NOTICE, "Error sending request.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user