be2net: fix speed displayed by ethtool on certain SKUs
logical speed returned by link_status_query needs to be multiplied by 10. Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ddc3f5cbaf
commit
2a89611a05
1 changed files with 1 additions and 1 deletions
|
@ -557,7 +557,7 @@ static int be_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd)
|
|||
if (!status)
|
||||
be_link_status_update(adapter, link_status);
|
||||
if (link_speed)
|
||||
et_speed = link_speed;
|
||||
et_speed = link_speed * 10;
|
||||
else
|
||||
et_speed = convert_to_et_speed(port_speed);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue