|
@@ -7530,6 +7530,9 @@ static int bnx2x_nic_load(struct bnx2x *bp, int load_mode)
|
|
|
rc = bnx2x_init_hw(bp, load_code);
|
|
|
if (rc) {
|
|
|
BNX2X_ERR("HW init failed, aborting\n");
|
|
|
+ bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_DONE);
|
|
|
+ bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_REQ_WOL_MCP);
|
|
|
+ bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_DONE);
|
|
|
goto load_error2;
|
|
|
}
|
|
|
|