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

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

Merge "net: stmmac: Ethtool half duplex not supported"

parents 32b88249 06db494a
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -402,9 +402,11 @@ stmmac_ethtool_set_link_ksettings(struct net_device *dev,

		return 0;
	}

	/* Half duplex is not supported */
	if (cmd->base.duplex != DUPLEX_FULL)
		rc = -EINVAL;
	else
		rc = phy_ethtool_ksettings_set(phy, cmd);

	return rc;
}