Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3f707bc authored by Surabhi Vishnoi's avatar Surabhi Vishnoi Committed by Sumangala P
Browse files

qcacld-3.0: Release wakelock when psoc idle timer is stopped

Currently, wakelock with timeout is acquired when psoc idle timer is
started to prevent suspend but it is not released when psoc idle timer
is stopped. So, in scenarios where wlan is turned off/on frequently,
psoc idle timer will be started and wakelock with timeout will be
acquired as part of wlan off but after wlan is turned on suspend will
not be allowed until wakelock timeout occurs as wakelock is not released
when psoc idle timer is stopped.

To allow suspend after wlan is turned on, release wakelock which was
acquired as part of wlan off in psoc idle timer start.

Change-Id: I85ad9ce4ae9618a88601295d2194b4033be88c2d
CRs-Fixed: 3578872
(cherry picked from commit 38060e5e)
parent 4142ad0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment