mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
r6040: Fix args to phy_mii_ioctl().
Reported by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4c3e5edf2f
commit
4cfa580e7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue