diff options
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r-- | drivers/net/niu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c index a7072174ffa7..524e800ddcf4 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c | |||
@@ -6859,7 +6859,7 @@ static int niu_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) | |||
6859 | struct niu_link_config *lp = &np->link_config; | 6859 | struct niu_link_config *lp = &np->link_config; |
6860 | 6860 | ||
6861 | lp->advertising = cmd->advertising; | 6861 | lp->advertising = cmd->advertising; |
6862 | lp->speed = cmd->speed; | 6862 | lp->speed = ethtool_cmd_speed(cmd); |
6863 | lp->duplex = cmd->duplex; | 6863 | lp->duplex = cmd->duplex; |
6864 | lp->autoneg = cmd->autoneg; | 6864 | lp->autoneg = cmd->autoneg; |
6865 | return niu_init_link(np); | 6865 | return niu_init_link(np); |