commit | 0979aa0bfdc6d873f495310a8680436a66ff9c81 | [log] [tgz] |
---|---|---|
author | Fuyun Liang <liangfuyun1@huawei.com> | Wed Mar 21 15:49:27 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 22 13:12:02 2018 -0400 |
tree | ef039da90cc1e88d4c404a9655ed032ddeaaa027 | |
parent | a95e1f8666e910f43f47b5b1bec2cdf25f513f74 [diff] |
net: hns3: fix for getting wrong link mode problem Fixed link mode is returned by hns3_get_link_ksettings. It is unreasonable. This patch fixes it by adding some related functions to get link mode from hardware. 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>