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

Commit 19f9ad78 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

skge: don't assert carrier until link is up



Skge device would assert carrier (link up) as soon as network device open
was called, rather than waiting until PHY has detected link.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a42b4799
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2576,6 +2576,7 @@ static int skge_up(struct net_device *dev)
	}

	/* Initialize MAC */
	netif_carrier_off(dev);
	spin_lock_bh(&hw->phy_lock);
	if (is_genesis(hw))
		genesis_mac_init(hw, port);