wlan: Fix roaming latency caused by dump survey ops

Framework may initiate dump survey ops while roaming is
in middle, Which in turn block the call or wait for
timeout hence introducing roaming delay.

This delay can be overcome by avoiding dump survey ops
if it is triggered in between the roaming.

Change-Id: Ib3dbfb01b8b4e14b338efc7bf8747cd775b38a5e
CRs-Fixed: 852558
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index d2c0b46..dbb6e22 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -16156,6 +16156,13 @@
         return -ENONET;
     }
 
+    if (VOS_TRUE == pHddStaCtx->hdd_ReassocScenario)
+    {
+        VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
+                 "%s: Roaming in progress, hence return ", __func__);
+        return -ENONET;
+    }
+
     halHandle = WLAN_HDD_GET_HAL_CTX(pAdapter);
 
     wlan_hdd_get_snr(pAdapter, &snr);