diff options
Diffstat (limited to 'drivers/net/ixgb')
-rw-r--r-- | drivers/net/ixgb/ixgb_ethtool.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c index cf19b898ba9b..ba621083830a 100644 --- a/drivers/net/ixgb/ixgb_ethtool.c +++ b/drivers/net/ixgb/ixgb_ethtool.c | |||
@@ -654,11 +654,7 @@ ixgb_phys_id(struct net_device *netdev, uint32_t data) | |||
654 | 654 | ||
655 | mod_timer(&adapter->blink_timer, jiffies); | 655 | mod_timer(&adapter->blink_timer, jiffies); |
656 | 656 | ||
657 | if (data) | 657 | msleep_interruptible(data * 1000); |
658 | schedule_timeout_interruptible(data * HZ); | ||
659 | else | ||
660 | schedule_timeout_interruptible(MAX_SCHEDULE_TIMEOUT); | ||
661 | |||
662 | del_timer_sync(&adapter->blink_timer); | 658 | del_timer_sync(&adapter->blink_timer); |
663 | ixgb_led_off(&adapter->hw); | 659 | ixgb_led_off(&adapter->hw); |
664 | clear_bit(IXGB_LED_ON, &adapter->led_status); | 660 | clear_bit(IXGB_LED_ON, &adapter->led_status); |