net: mvneta: use resolved link config in mac_link_up()
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 26 Feb 2020 10:24:12 +0000 (10:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 20:02:14 +0000 (12:02 -0800)
commitff03f0b152ef55b9badede83203a2ac56eefb452
tree00933ee0116a92ff787e4803c7c8becd63c3c5c6
parent633e98a711ac060fa5aa4061a11aeb8f886b46e1
net: mvneta: use resolved link config in mac_link_up()

Convert the Marvell mvneta ethernet 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/marvell/mvneta.c