ID: 50 - ipmi_hpmfwupg needs a clean up

Add missing ``rsp == NULL'' comp.
This commit is contained in:
Zdenek Styblik 2013-10-10 12:06:00 +00:00
parent f56cea1253
commit a8119d13a8

View File

@ -2157,7 +2157,7 @@ HpmfwupgQueryRollbackStatus(struct ipmi_intf *intf,
&& ((rsp->ccode == HPMFWUPG_COMMAND_IN_PROGRESS)
|| (rsp->ccode == IPMI_CC_TIMEOUT))
&& (timeoutSec2 - timeoutSec1 < rollbackTimeout));
if (rsp) {
if (rsp == NULL) {
lprintf(LOG_ERR, "Error getting upgrade status.");
return HPMFWUPG_ERROR;
}