wlan: Don't initiate scan request if PNO scan is active

Firmware goes to bad state if scan is initiated in middle of PNO scan.
Hence don't allow user request scan request and OEM_DATA_REQ IOCTL in
middle of PNO scan.

Change-Id: I3f3e313d1f68ef71412f5ec67587af8b48bbf217
CRs-Fixed: 892229
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 7110c4b..ab23e73 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -10841,6 +10841,14 @@
         return -EBUSY;
     }
 
+    // Don't allow scan if PNO scan is going on.
+    if (pHddCtx->isPnoEnable)
+    {
+        VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
+                   FL("pno scan in progress"));
+        return -EBUSY;
+    }
+
     //Don't Allow Scan and return busy if Remain On
     //Channel and action frame is pending
     //Otherwise Cancel Remain On Channel and allow Scan