3600914 no more crash on no response. allow more send/recv loops of waiting.

This commit is contained in:
Ales Ledvinka 2013-01-18 12:43:19 +00:00
parent c958de2870
commit bd5ffa4756

View File

@ -1270,7 +1270,7 @@ static tKFWUM_Status KfwumFinishFirmwareImage(struct ipmi_intf * intf,
do do
{ {
rsp = intf->sendrecv(intf, &req); rsp = intf->sendrecv(intf, &req);
}while (rsp->ccode == 0xc0); }while (rsp == NULL || rsp->ccode == 0xc0);
if (!rsp) if (!rsp)
{ {