commit | ed29ca8b9592562559c64d027fb5eb126e463e2c | [log] [tgz] |
---|---|---|
author | Yonglong Liu <liuyonglong@huawei.com> | Sat Jan 26 17:18:26 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 27 23:01:56 2019 -0800 |
tree | 88015f55ede7329157ee4565e7683db10ac3559b | |
parent | 263c6d75f9a544a3c2f8f6a26de4f4808d8f59cf [diff] |
net: hns: Restart autoneg need return failed when autoneg off The hns driver of earlier devices, when autoneg off, restart autoneg will return -EINVAL, so make the hns driver for the latest devices do the same. Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>