commit | a459187390bb221827f9c07866c3a5ffbdf9622b | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Wed May 18 15:54:52 2022 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu May 19 18:14:29 2022 -0700 |
tree | 4e7e9f192d9a0a2488016f3be2ed5edfcabe4bf0 | |
parent | 7da3f901f8ecb425105fad39a0f5de73306abe52 [diff] |
net: mtk_eth_soc: correct 802.3z duplex setting Phylink does not guarantee that state->duplex will be set correctly in the mac_config() call, so it's a bug that the driver makes use of it. Move the 802.3z PCS duplex configuration to mac_link_up(). Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>