diff options
Diffstat (limited to 'net/rfkill/input.c')
-rw-r--r-- | net/rfkill/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rfkill/input.c b/net/rfkill/input.c index 3713d7ecab96..1bca6d49ec96 100644 --- a/net/rfkill/input.c +++ b/net/rfkill/input.c | |||
@@ -142,7 +142,7 @@ static unsigned long rfkill_last_scheduled; | |||
142 | static unsigned long rfkill_ratelimit(const unsigned long last) | 142 | static unsigned long rfkill_ratelimit(const unsigned long last) |
143 | { | 143 | { |
144 | const unsigned long delay = msecs_to_jiffies(RFKILL_OPS_DELAY); | 144 | const unsigned long delay = msecs_to_jiffies(RFKILL_OPS_DELAY); |
145 | return (time_after(jiffies, last + delay)) ? 0 : delay; | 145 | return time_after(jiffies, last + delay) ? 0 : delay; |
146 | } | 146 | } |
147 | 147 | ||
148 | static void rfkill_schedule_ratelimited(void) | 148 | static void rfkill_schedule_ratelimited(void) |