提交 2a89611a 编写于 作者: A Ajit Khaparde 提交者: David S. Miller

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: NAjit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ddc3f5cb
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册