]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Feb 2016 04:39:32 +0000 (23:39 -0500)
commit95af1846e06f18171dd0a634f2b304e11d440736
treec5df1505cf05f44a360f955ca420c28d9f296e2c
parent2bc95f778ba738bee471363bb6c082c956419cd1
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