提交 4cfa580e 编写于 作者: D David S. Miller

r6040: Fix args to phy_mii_ioctl().

Reported by Stephen Rothwell.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4c3e5edf
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册