summaryrefslogtreecommitdiff
path: root/net/caif/caif_socket.c
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2015-05-26 17:51:49 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-27 02:47:30 +0300
commit983942a5eacae8821882a3d348618b020098e8dc (patch)
tree78dfbdb46aff14453df7075f887385bed2e55d56 /net/caif/caif_socket.c
parentfe9066ade6a42a6f0bd22333e5831194104713ce (diff)
downloadlinux-983942a5eacae8821882a3d348618b020098e8dc.tar.xz
amd-xgbe-phy: Fix initial mode when autoneg is disabled
When the ethtool command is used to set the speed of the device while the device is down, the check to set the initial mode may fail when the device is brought up, causing failure to bring the device up. Update the code to set the initial mode based on the desired speed if auto-negotiation is disabled. This patch fixes a bug introduced by: d9663c8c2149 ("amd-xgbe-phy: Use phydev advertising field vs supported") Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/caif_socket.c')
0 files changed, 0 insertions, 0 deletions