bnx2x: add missing command in error handling flow
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 19 Jul 2011 01:38:53 +0000 (01:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2011 16:57:47 +0000 (09:57 -0700)
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>
drivers/net/bnx2x/bnx2x_cmn.c

index 150147aa73b316b3df90b966a3d4d7eae880cf6c..5854a6c342238f85fd2bec759f77b0627e543aab 100644 (file)
@@ -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);
        }