forked from Minki/linux
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:
parent
de73018fb5
commit
ba41d46fe0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user