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:
Ajit Khaparde 2012-04-26 15:42:39 +00:00 committed by David S. Miller
parent ddc3f5cbaf
commit 2a89611a05

View file

@ -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 {