commit | 0d9c9f0f40ca262b67fc06a702b85f3976f5e1a1 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Mon Jan 15 11:47:53 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 16 14:55:07 2018 -0500 |
tree | 4670585b5e3b01837e3b8f21ac498c4c4f39325c | |
parent | a5b1379afbfabf91e3a689e82ac619a7157336b3 [diff] |
nfp: use the correct index for link speed table sts variable is holding link speed as well as state. We should be using ls to index into ls_to_ethtool. Fixes: 265aeb511bd5 ("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>