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

Commit f532e744 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller
Browse files

net: systemport: start with carrier off



The SYSTEMPORT driver uses libphy to determine the carrier state, so
make sure we start with a carrier off until libphy has completed the
link training process.

Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e0ea05d0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1595,6 +1595,9 @@ static int bcm_sysport_probe(struct platform_device *pdev)
	 */
	dev->flags &= ~IFF_MULTICAST;

	/* libphy will adjust the link state accordingly */
	netif_carrier_off(dev);

	ret = register_netdev(dev);
	if (ret) {
		dev_err(&pdev->dev, "failed to register net_device\n");