summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2011-07-19 03:38:53 +0200
committerDavid S. Miller <davem@davemloft.net>2011-07-19 18:57:47 +0200
commitc636322b24eb69b7c1ccdc070164de51cee3f37c (patch)
tree505a202bc8179e64303bb0e70c0449bef83607da
parentbnx2x: use correct dma_sync function (diff)
downloadlinux-c636322b24eb69b7c1ccdc070164de51cee3f37c.tar.xz
linux-c636322b24eb69b7c1ccdc070164de51cee3f37c.zip
bnx2x: add missing command in error handling flow
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/bnx2x/bnx2x_cmn.c1
1 files changed, 1 insertions, 0 deletions
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);
}