Commit 179d9dca authored by Ong Boon Leong's avatar Ong Boon Leong Committed by Zheng Zengkai
Browse files

net: phylink: Fix phylink_err() function name error in phylink_major_config



stable inclusion
from stable-5.10.27
commit ddeba5b39ccadaac9abce231ead451a4baaff77c
bugzilla: 51493

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

[ Upstream commit d82c6c1a ]

if pl->mac_ops->mac_finish() failed, phylink_err should use
"mac_finish" instead of "mac_prepare".

Fixes: b7ad14c2 ("net: phylink: re-implement interface configuration with PCS")
Signed-off-by: default avatarOng Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent e1858dcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment