Skip to content

Commit

Permalink
bcmdhd: reducir wakelocks
Browse files Browse the repository at this point in the history
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 Jun 4, 2014
1 parent 589c356 commit 4269fb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/bcmdhd/dhd_linux.c
Expand Up @@ -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;
Expand Down

0 comments on commit 4269fb5

Please sign in to comment.