qcacld-3.0: Acquire wake lock timeout for rrm scan

Currently driver acquires wakelock for scans received from hdd.
But for RRM scan initiated from AP for beacon reports, the
wakelock is not acquired and if host goes to suspend while scan
is in progress,FW asserts.

Fix is to avoid the system suspend by taking the wakelock
before rrm scan start.

Change-Id: I02ddc9b5e6ba5f1782d00e34f044ace34c54d0b0
CRs-Fixed: 2331741
Bug: 161624543
Signed-off-by: Vamsi Krishna <quic_vamsin@quicinc.com>
2 files changed
tree: d7ceab8b92c8617e06272ada0b5c6547941430fb
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. OWNERS
  8. README.txt