wlan: Fix for STA taking long time to connect in suspend mode

After updating the sched scan results apps going into suspend
mode even before supplicant sends connect command, results delay
in connection to AP.

To resolve this issue hold a wakelock of 2 seconds after updating
the scan results so that supplicant sends connect command and its
get processed before apps go into suspend mode.

Change-Id: Iaf6307c7dd032e21337c37c33cd3f6603e2a4661
CRs-Fixed: 582635
3 files changed
tree: 1de6d26913eb7b5d25c1d3ec1db3610e3d068dda
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig