Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8f5f588 authored by Antoine Tenart's avatar Antoine Tenart Committed by David S. Miller
Browse files

net: mvpp2: do not explicitly set the carrier state in open



This patch removes the explicit call to netif_carrier_off() in PPv2's
open() path, as this is now handled in phylink_start().

Signed-off-by: default avatarAntoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aeeb2e8f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3193,7 +3193,6 @@ static void mvpp2_start_dev(struct mvpp2_port *port)
		mvpp22_mode_reconfigure(port);

	if (port->phylink) {
		netif_carrier_off(port->dev);
		phylink_start(port->phylink);
	} else {
		/* Phylink isn't used as of now for ACPI, so the MAC has to be