]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylink: Fix phylink_err() function name error in phylink_major_config
authorOng Boon Leong <boon.leong.ong@intel.com>
Mon, 15 Mar 2021 04:33:42 +0000 (12:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2021 19:58:10 +0000 (12:58 -0700)
commitd82c6c1aaccd2877b6082cebcb1746a13648a16d
tree6d5152f89971d4422ab8e18af56e6218e9ebe3e8
parentbf0ffea336b493c0a8c8bc27b46683ecf1e8f294
net: phylink: Fix phylink_err() function name error in phylink_major_config

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

Fixes: b7ad14c2fe2d4 ("net: phylink: re-implement interface configuration with PCS")
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c