From: Dmitry Kravkov Date: Tue, 19 Jul 2011 01:38:53 +0000 (+0000) Subject: bnx2x: add missing command in error handling flow X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c636322b24eb69b7c1ccdc070164de51cee3f37c;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git bnx2x: add missing command in error handling flow Signed-off-by: Dmitry Kravkov Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index 150147aa73b3..5854a6c34223 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c @@ -1828,6 +1828,7 @@ int bnx2x_nic_load(struct bnx2x *bp, int load_mode) rc = bnx2x_func_start(bp); if (rc) { BNX2X_ERR("Function start failed!\n"); + bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_DONE, 0); LOAD_ERROR_EXIT(bp, load_error3); }