wlan: Add SSR protection to WEXT APIs

Add SSR protection to WEXT common, WEXT private and new cfg80211
APIs. These external APIs should be protected when SSR is going on.

Change-Id: Ic231d1f6b3e857b52de041ff6276b464d766fea5
CRs-Fixed: 454725
diff --git a/CORE/HDD/src/wlan_hdd_p2p.c b/CORE/HDD/src/wlan_hdd_p2p.c
index f2a093f..5b07f94 100644
--- a/CORE/HDD/src/wlan_hdd_p2p.c
+++ b/CORE/HDD/src/wlan_hdd_p2p.c
@@ -561,6 +561,12 @@
     hdd_adapter_t *goAdapter;
 #endif
 
+    if (((hdd_context_t*)pAdapter->pHddCtx)->isLogpInProgress)
+    {
+        VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
+                "%s:LOGP in Progress. Ignore!!!", __func__);
+        return -EBUSY;
+    }
 #ifdef WLAN_FEATURE_P2P_DEBUG
     if ((type == SIR_MAC_MGMT_FRAME) &&
             (subType == SIR_MAC_MGMT_ACTION) &&