]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:36:54 +0000 (17:36 -0700)
commitd16f0c1e0158b4123e8168aa339674dfd2eb0754
tree8dfdf4557813722fbcbaf5b56949b3fe65048472
parent64dff714041aeb773499dcc05a061adc9b7e4db4
bnxt_en: Remove unnecessary call to update PHY settings.

Orabug: 23221795

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>
(cherry picked from commit de73018fb5474b33dc4f6d6b8d889e40232e325b)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c