bnxt_en: Failure to update PHY is not fatal condition.

If we fail to update the PHY, we should print a warning and continue.
The current code to exit is buggy as it has not freed up the NIC
resources yet.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Michael Chan 2016-02-19 19:43:21 -05:00 committed by David S. Miller
parent de73018fb5
commit ba41d46fe0
1 changed files with 1 additions and 1 deletions

View File

@ -4642,7 +4642,7 @@ static int __bnxt_open_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init)
if (link_re_init) {
rc = bnxt_update_phy_setting(bp);
if (rc)
goto open_err;
netdev_warn(bp->dev, "failed to update phy settings\n");
}
if (irq_re_init) {