diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2012-04-26 17:42:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-27 06:03:35 +0200 |
commit | 2a89611a051cdcfcf4a7ae21d18eef64fab517b4 (patch) | |
tree | 244229e32f480ed5ded1a01410c82e32a0ff9535 /drivers/net/ethernet/emulex | |
parent | be2net: Ignore status of some ioctls during driver load (diff) | |
download | linux-2a89611a051cdcfcf4a7ae21d18eef64fab517b4.tar.xz linux-2a89611a051cdcfcf4a7ae21d18eef64fab517b4.zip |
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 0c6f06efce12..7b06f3592bd7 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 { |