wlan: Fix for APPS going into suspend immediatly after driver gets connect request after scan.

Acquire wakelock to handle the case where APP's tries to suspend
immediatly after the driver gets connect request(i.e after scan) from
supplicant, this result in app's is suspending and not able to process
the connect request to AP.

Change-Id: I2419ed396b5e34a6a414db87c10f47ef1e69070f
CR-Fixed: 404528
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 58abfee..03dddae 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -3573,6 +3573,12 @@
     /* release the wake lock at the end of the scan*/
     hdd_allow_suspend();
 
+    /* Acquire wakelock to handle the case where APP's tries to suspend
+     * immediatly after the driver gets connect request(i.e after scan)
+     * from supplicant, this result in app's is suspending and not able
+     * to process the connect request to AP */
+    hdd_allow_suspend_timeout(100);
+
     EXIT();
     return 0;
 }