diff options
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r-- | drivers/net/s2io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 58b78f46e54f..5443985c019e 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -5380,7 +5380,7 @@ static int s2io_ethtool_sset(struct net_device *dev, | |||
5380 | { | 5380 | { |
5381 | struct s2io_nic *sp = netdev_priv(dev); | 5381 | struct s2io_nic *sp = netdev_priv(dev); |
5382 | if ((info->autoneg == AUTONEG_ENABLE) || | 5382 | if ((info->autoneg == AUTONEG_ENABLE) || |
5383 | (info->speed != SPEED_10000) || | 5383 | (ethtool_cmd_speed(info) != SPEED_10000) || |
5384 | (info->duplex != DUPLEX_FULL)) | 5384 | (info->duplex != DUPLEX_FULL)) |
5385 | return -EINVAL; | 5385 | return -EINVAL; |
5386 | else { | 5386 | else { |