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:
Zdenek Styblik 2014-11-29 17:45:41 +01:00
parent 0eaa2eae51
commit 1cf65c3236

View File

@ -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;
} }