wlan: Fixed below issues due to which 2nd client is not associating to
GO

1. eWNI_SME_UPPER_LAYER_ASSOC_CNF msg is only processed in
eCSR_ROAMING_STATE_JOINED state . When STA/GO is scanning CSR is in
eCSR_ROAMING_STATE_SCANNING state currently driver is not processing
eWNI_SME_UPPER_LAYER_ASSOC_CNF msg . Fixed this by processing this msg
in CSR scanning state as well.

2. In driver fix was done  to not  allow DEL_STA events based on
pAdapter->aStaInfo[i].isUsed flag in HDD

3. If Driver received deauth from p2p client and at the same time if
driver gets DEL_STA from supplicant. In this case after processing  the
over-the-air deauth frame driver has to remove  any pending sme commands
with same session ID, same peer mac addr and with reason code
eCsrForcedDeauthSta  For this csrRoamRemoveDuplicateCommand function
is enhanced to take care of this

4. Introduced a new variable deauth_in_progress in HDD to avoid further
DEL_STA events to driver even if supplicant is buggy

5. Abort_scan when SAP_ASSOC_EVENT  is received on GO

6.Fix an issue(SCAN busy) because of race condition between  disconnect
request from the HDD and deauth from AP

CR-Fixed:  436439
Change-Id: If847ddf412529ae51a1b1c6038663b7c2d67eb19
diff --git a/CORE/HDD/src/wlan_hdd_softap_tx_rx.c b/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
index ee06583..8df13d0 100644
--- a/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
+++ b/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
@@ -652,6 +652,7 @@
    }
 
    pAdapter->aStaInfo[STAId].isUsed = TRUE;
+   pAdapter->aStaInfo[STAId].isDeauthInProgress = FALSE;
    vos_copy_macaddr( &pAdapter->aStaInfo[STAId].macAddrSTA, pmacAddrSTA);
 
    spin_unlock_bh( &pAdapter->staInfo_lock );
@@ -690,6 +691,7 @@
    status = hdd_softap_flush_tx_queues_sta(pAdapter, STAId);
 
    pAdapter->aStaInfo[STAId].isUsed = FALSE;
+   pAdapter->aStaInfo[STAId].isDeauthInProgress = FALSE;
 
    /* if this STA had any of its WMM TX queues suspended, then the
       associated queue on the network interface was disabled.  check