summaryrefslogtreecommitdiffstats
path: root/net/caif
diff options
context:
space:
mode:
authorLendacky, Thomas2015-05-26 16:51:49 +0200
committerDavid S. Miller2015-05-27 01:47:30 +0200
commit983942a5eacae8821882a3d348618b020098e8dc (patch)
tree78dfbdb46aff14453df7075f887385bed2e55d56 /net/caif
parentMerge tag 'mac80211-for-davem-2015-05-26' of git://git.kernel.org/pub/scm/lin... (diff)
downloadkernel-qcow2-linux-983942a5eacae8821882a3d348618b020098e8dc.tar.gz
kernel-qcow2-linux-983942a5eacae8821882a3d348618b020098e8dc.tar.xz
kernel-qcow2-linux-983942a5eacae8821882a3d348618b020098e8dc.zip
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')
0 files changed, 0 insertions, 0 deletions