summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjitiphil <jitiphil@codeaurora.org>2018-04-10 15:29:08 +0530
committernshrivas <nshrivas@codeaurora.org>2018-04-13 03:12:19 -0700
commitb4447fa9cde70c6a7d0d2ca116ee87b19796088a (patch)
tree2f1322b632a680bf6123b840d9bd2bdbc0a8739d
parentc35c7bc2ceb7624d9df699dbbab7f33d5c83f75a (diff)
qcacld-3.0: Do not set event when send IPA WLAN event fails for start BSS
When send IPA WLAN AP connect event fails, event is set and will unblock the supplicant thread which is waiting for start BSS to complete and the active session wont be incremented for SAP in this case. Now if P2P interface check for concurrency it will not find the SAP interface and proceed with second beaconing interface. Remove set event when IPA WLAN event fails for start BSS. Change-Id: Ib748177b4b4681c13098e994b47b6c3da6531e5e CRs-Fixed: 2221568
-rw-r--r--core/hdd/src/wlan_hdd_hostapd.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c
index 618c8da838a6..22a4ffb582bd 100644
--- a/core/hdd/src/wlan_hdd_hostapd.c
+++ b/core/hdd/src/wlan_hdd_hostapd.c
@@ -1735,16 +1735,8 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
pHddApCtx->uBCStaId,
HDD_IPA_AP_CONNECT,
pHostapdAdapter->dev->dev_addr);
- if (status) {
+ if (status)
hdd_err("WLAN_AP_CONNECT event failed");
- /*
- * Make sure to set the event before proceeding
- * for error handling otherwise caller thread
- * will wait till 10 secs and no other
- * connection will go through before that.
- */
- qdf_event_set(&pHostapdState->qdf_event);
- }
}
if (0 !=