wlan: VOS ASSERT in wlan_hdd_cfg80211_stop_ap while removing P2P GO

Currently abortscan_event_var is maintained per adapter. I have
moved abortscan_event_var to hdd_scaninfo_t structure so that it
will be common for all the adapters.
Root cause: In the failure scenario while removing P2P GO
hdd_abort_mac_scan() API (which cancels all the scans) is initiated from
the wlan_hdd_cfg80211_del_beacon() API and it will wait on the Station
adapter for the abort scan completion notification but the completion
event is received on the P2P adapter.

Change-Id: If7ae6deead11276a6496b87b6769b0b99586c95c
CR-Fixed: 417218
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index acc5533..db5f0d6 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -1780,10 +1780,10 @@
 
     if ((pScanInfo != NULL) && pScanInfo->mScanPending)
     {
-        INIT_COMPLETION(staAdapter->abortscan_event_var);
+        INIT_COMPLETION(pScanInfo->abortscan_event_var);
         hdd_abort_mac_scan(staAdapter->pHddCtx);
         status = wait_for_completion_interruptible_timeout(
-                           &staAdapter->abortscan_event_var,
+                           &pScanInfo->abortscan_event_var,
                            msecs_to_jiffies(WLAN_WAIT_TIME_ABORTSCAN));
         if (!status)
         {
@@ -3681,7 +3681,7 @@
      * of scanning
      */
     cfg80211_scan_done(req, false);
-    complete(&pAdapter->abortscan_event_var);
+    complete(&pScanInfo->abortscan_event_var);
 #ifdef WLAN_FEATURE_P2P
     /* Flush out scan result after p2p_serach is done */
     if(pScanInfo->flushP2pScanResults)