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
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index f1177b5..1097bc5 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -7506,7 +7506,7 @@
 #endif
 }
 
-void hdd_allow_suspend_timeout(v_U32_t timeout)
+void hdd_prevent_suspend_timeout(v_U32_t timeout)
 {
 #ifdef WLAN_OPEN_SOURCE
     wake_lock_timeout(&wlan_wake_lock, msecs_to_jiffies(timeout));