bnxt_en: Remove unnecessary call to update PHY settings.
authorMichael Chan <mchan@broadcom.com>
Sat, 20 Feb 2016 00:43:20 +0000 (19:43 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Feb 2016 04:39:32 +0000 (23:39 -0500)
commitde73018fb5474b33dc4f6d6b8d889e40232e325b
treec5df1505cf05f44a360f955ca420c28d9f296e2c
parent035a1539ab63bfdb284bdf6e8459e35897c60564
bnxt_en: Remove unnecessary call to update PHY settings.

Fix bnxt_update_phy_setting() to check the correct parameters when
determining whether to update the PHY.  Requested line speed/duplex should
only be checked for forced speed mode.  This avoids unnecessary link
interruptions when loading the driver.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c