diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 10fa476fede3..9915734ac3e9 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -10384,7 +10384,7 @@ static int tg3_set_phys_id(struct net_device *dev, | |||
10384 | 10384 | ||
10385 | switch (state) { | 10385 | switch (state) { |
10386 | case ETHTOOL_ID_ACTIVE: | 10386 | case ETHTOOL_ID_ACTIVE: |
10387 | return -EINVAL; | 10387 | return 1; /* cycle on/off once per second */ |
10388 | 10388 | ||
10389 | case ETHTOOL_ID_ON: | 10389 | case ETHTOOL_ID_ON: |
10390 | tw32(MAC_LED_CTRL, LED_CTRL_LNKLED_OVERRIDE | | 10390 | tw32(MAC_LED_CTRL, LED_CTRL_LNKLED_OVERRIDE | |