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

Commit 4cfa580e authored by David S. Miller's avatar David S. Miller
Browse files

r6040: Fix args to phy_mii_ioctl().



Reported by Stephen Rothwell.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4c3e5edf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -510,7 +510,7 @@ static int r6040_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
	if (!lp->phydev)
		return -EINVAL;

	return phy_mii_ioctl(lp->phydev, if_mii(rq), cmd);
	return phy_mii_ioctl(lp->phydev, rq, cmd);
}

static int r6040_rx(struct net_device *dev, int limit)