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 2d5cc6142c04..2302d9743744 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -5541,7 +5541,7 @@ static int s2io_ethtool_set_led(struct net_device *dev, | |||
5541 | switch (state) { | 5541 | switch (state) { |
5542 | case ETHTOOL_ID_ACTIVE: | 5542 | case ETHTOOL_ID_ACTIVE: |
5543 | sp->adapt_ctrl_org = readq(&bar0->gpio_control); | 5543 | sp->adapt_ctrl_org = readq(&bar0->gpio_control); |
5544 | return -EINVAL; | 5544 | return 1; /* cycle on/off once per second */ |
5545 | 5545 | ||
5546 | case ETHTOOL_ID_ON: | 5546 | case ETHTOOL_ID_ON: |
5547 | s2io_set_led(sp, true); | 5547 | s2io_set_led(sp, true); |