diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2012-04-26 15:42:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-27 00:03:35 -0400 |
commit | 2a89611a051cdcfcf4a7ae21d18eef64fab517b4 (patch) | |
tree | 244229e32f480ed5ded1a01410c82e32a0ff9535 /drivers/net/ethernet/emulex | |
parent | ddc3f5cbaf1ddea122ec1d51c1cce97482b4d0c2 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_ethtool.c b/drivers/net/ethernet/emulex/benet/be_ethtool.c index 0c6f06efce1..7b06f3592bd 100644 --- a/drivers/net/ethernet/emulex/benet/be_ethtool.c +++ b/drivers/net/ethernet/emulex/benet/be_ethtool.c @@ -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 { |