Permalink
Browse files

bcmdhd: reducir wakelocks

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: LaboDJ <jacopolabardi@gmail.com>

Conflicts:
	drivers/net/wireless/bcmdhd/dhd_linux.c
  • Loading branch information...
labodj authored and StefanescuCristian committed May 24, 2014
1 parent 589c356 commit 4269fb56496463c717f3e115135ad313c83a50a0
Showing with 2 additions and 2 deletions.
  1. +2 −2 drivers/net/wireless/bcmdhd/dhd_linux.c
@@ -5824,10 +5824,10 @@ int dhd_os_wake_lock_timeout(dhd_pub_t *pub)
#ifdef CONFIG_HAS_WAKELOCK
if (dhd->wakelock_rx_timeout_enable)
wake_lock_timeout(&dhd->wl_rxwake,
msecs_to_jiffies(dhd->wakelock_rx_timeout_enable));
msecs_to_jiffies(dhd->wakelock_rx_timeout_enable)/4);
if (dhd->wakelock_ctrl_timeout_enable)
wake_lock_timeout(&dhd->wl_ctrlwake,
msecs_to_jiffies(dhd->wakelock_ctrl_timeout_enable));
msecs_to_jiffies(dhd->wakelock_ctrl_timeout_enable)/4);
#endif
dhd->wakelock_rx_timeout_enable = 0;
dhd->wakelock_ctrl_timeout_enable = 0;

0 comments on commit 4269fb5

Please sign in to comment.