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

Commit b5eead2b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: stmmac: Fix phy detection issue in case of no phycard connected"

parents f26e1d2f 19d382b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@ int stmmac_mdio_register(struct net_device *ndev)
	for (addr = 0; addr < PHY_MAX_ADDR; addr++) {
		struct phy_device *phydev = mdiobus_get_phy(new_bus, addr);

		if (!phydev)
		if (!phydev || phydev->phy_id == 0xffff)
			continue;

		/*