mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
staging: rtl8192e: Fix SPACING error
Fix SPACING error in rtl8192_hw_to_sleep(). Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f0e5bb2b29
commit
512e903123
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ void rtl8192_hw_to_sleep(struct net_device *dev, u64 time)
|
||||||
time -= msecs_to_jiffies(8 + 16 + 7);
|
time -= msecs_to_jiffies(8 + 16 + 7);
|
||||||
|
|
||||||
timeout = jiffies + msecs_to_jiffies(MIN_SLEEP_TIME);
|
timeout = jiffies + msecs_to_jiffies(MIN_SLEEP_TIME);
|
||||||
if (time_before((unsigned long)time,timeout)) {
|
if (time_before((unsigned long)time, timeout)) {
|
||||||
spin_unlock_irqrestore(&priv->ps_lock, flags);
|
spin_unlock_irqrestore(&priv->ps_lock, flags);
|
||||||
netdev_info(dev, "too short to sleep::%lld < %ld\n",
|
netdev_info(dev, "too short to sleep::%lld < %ld\n",
|
||||||
time - jiffies, msecs_to_jiffies(MIN_SLEEP_TIME));
|
time - jiffies, msecs_to_jiffies(MIN_SLEEP_TIME));
|
||||||
|
|
Loading…
Reference in a new issue