mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
nfp: use the correct index for link speed table
[ Upstream commit0d9c9f0f40] sts variable is holding link speed as well as state. We should be using ls to index into ls_to_ethtool. Fixes:265aeb511b("nfp: add support for .get_link_ksettings()") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4f97adffa3
commit
a8c21ba721
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue