net: mtk_eth_soc: use resolved link config in mac_link_up()
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 21 Jun 2020 14:36:39 +0000 (15:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 03:45:53 +0000 (20:45 -0700)
commit75674e31593ba3b18459816d9b52b3d87dbfadc0
tree67be62f25613b0b8a5a33c85b9f270e06bbf605b
parent864cefeea03f79f68021fcbc9f04db5e11d52c5d
net: mtk_eth_soc: use resolved link config in mac_link_up()

Convert the mtk_eth_soc driver to use the finalised link parameters in
mac_link_up() rather than the parameters in mac_config().

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c