diff options
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index e3f3501d4347..a47595760751 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c | |||
@@ -288,7 +288,7 @@ int phy_ethtool_gset(struct phy_device *phydev, struct ethtool_cmd *cmd) | |||
288 | 288 | ||
289 | cmd->advertising = phydev->advertising; | 289 | cmd->advertising = phydev->advertising; |
290 | 290 | ||
291 | cmd->speed = phydev->speed; | 291 | ethtool_cmd_speed_set(cmd, phydev->speed); |
292 | cmd->duplex = phydev->duplex; | 292 | cmd->duplex = phydev->duplex; |
293 | cmd->port = PORT_MII; | 293 | cmd->port = PORT_MII; |
294 | cmd->phy_address = phydev->addr; | 294 | cmd->phy_address = phydev->addr; |