aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/bnx2x_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index d7aef840a1d5..16685a153c10 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -7530,6 +7530,9 @@ static int bnx2x_nic_load(struct bnx2x *bp, int load_mode)
7530 rc = bnx2x_init_hw(bp, load_code); 7530 rc = bnx2x_init_hw(bp, load_code);
7531 if (rc) { 7531 if (rc) {
7532 BNX2X_ERR("HW init failed, aborting\n"); 7532 BNX2X_ERR("HW init failed, aborting\n");
7533 bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_DONE);
7534 bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_REQ_WOL_MCP);
7535 bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_DONE);
7533 goto load_error2; 7536 goto load_error2;
7534 } 7537 }
7535 7538