commit | 1931dc20839e31af758a5f110f31200f2ea15539 | [log] [tgz] |
---|---|---|
author | Fuyun Liang <liangfuyun1@huawei.com> | Wed Mar 21 15:49:30 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 22 13:12:03 2018 -0400 |
tree | c03c1182a13480b5efd350320f806bae10394c6f | |
parent | 4a152de95d71652b86d391298c56b4503e0b9932 [diff] |
net: hns3: fix for not returning problem in get_link_ksettings when phy exists When phy exists, phy_ethtool_ksettings_get function is enough to get the link ksettings. If the phy exists, get_link_ksettings function can return directly after phy_ethtool_ksettings_get is called. Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>