ethtool: time to blink provided in seconds not jiffies
authorAllan, Bruce W <bruce.w.allan@intel.com>
Mon, 11 Apr 2011 13:01:59 +0000 (13:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Apr 2011 20:47:33 +0000 (13:47 -0700)
commit143780c6562080c1117cd9197ee1b33c0d838376
tree2c917395174066a85ea138377993e3a0fd45e7fb
parent6ba1037c3d871ab70e342631516dbf841c35b086
ethtool: time to blink provided in seconds not jiffies

When blinking for a duration set by the user, the value specified is in
seconds but it is used as the number of jiffies in the timeout after which
the Physical ID indicator is deactivated.  Fix by converting the timeout
to seconds.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/ethtool.c