summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2011-07-19 01:38:53 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-19 09:57:47 -0700
commitc636322b24eb69b7c1ccdc070164de51cee3f37c (patch)
tree505a202bc8179e64303bb0e70c0449bef83607da /drivers/net/bnx2x
parent9924cafc403ca74614c0a8b1ad198406ae02c68b (diff)
downloadop-kernel-dev-c636322b24eb69b7c1ccdc070164de51cee3f37c.zip
op-kernel-dev-c636322b24eb69b7c1ccdc070164de51cee3f37c.tar.gz
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>
Diffstat (limited to 'drivers/net/bnx2x')
-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 150147a..5854a6c 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);
}
OpenPOWER on IntegriCloud