Commit ee825333 authored by Guangbin Huang's avatar Guangbin Huang Committed by Yang Yingliang
Browse files

net: hns3: modify code of hclge_mac_phy_link_status_wait() function



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

As some caller do not want to execute hclge_phy_link_status_wait() in
hclge_mac_phy_link_status_wait() function, this patch adds a parameter
for hclge_mac_phy_link_status_wait() to decide, and optimize other
code in this function.

Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Reviewed-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: default avatarZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent bc4906d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment