Commit da4b67b2 authored by Yonglong Liu's avatar Yonglong Liu Committed by Yang Yingliang
Browse files

net: hns3: fix loopback failed when phy has no .set_loopback interface



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

----------------------------

When phy has no .set_loopback interface, phy loopback test will
return not supported, and the loopback test will failed. So when
phy has no .set_loopback interface, don't do phy loopback test.

Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarLiubin Shu <shuliubin@huawei.com>
Reviewed-by: default avatarYongxin Li <liyongxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 4267d3e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment