wlan: ensure scan done callback is called after SSR

NL layer waits for scan done callback after issuing scan command
to driver. All subsequent scan commands are blocked until scan
done callback is called for already issued scan command. Due to
this behavior driver isn't able to scan and therefore not connect
to APs as well in station mode.

Now we are ensuring to call scan done callback even when SSR is
in progress.

Change-Id: I613323f0aa7867e01bd0a6e1ac792b0ffd1bc383
CRs-Fixed: 832821
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index c47c366..21a451b 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -10213,8 +10213,8 @@
     ENTER();
 
     pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
-    if (0 != wlan_hdd_validate_context(pHddCtx)) {
-        hddLog(VOS_TRACE_LEVEL_ERROR, FL("Invalid HDD context"));
+    if (NULL == pHddCtx) {
+        hddLog(VOS_TRACE_LEVEL_ERROR, FL("HDD context is Null"));
         goto allow_suspend;
     }