diff options
| author | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | 2017-03-03 19:39:01 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-03-06 21:55:45 -0800 |
| commit | 57cd4c9e86b8be6e44c9209049f93eab82851f3d (patch) | |
| tree | 4e1703ed373061775de48efad165a931e3af03ed | |
| parent | dba310d4ae74b118ce8ecca2713bc5ab295e9f49 (diff) | |
qcacld-3.0: Handle the channel selection failure case for ACS mode
qcacld-2.0 to qcacld-3.0 propagation
In case of auto channel selction failure, clean exit does not happens
which results as scan completion event timeout in start bss API.
Add appropriate API call with channel selection failure
case.
Change-Id: I66a81f586234adb5a0edc4c85cfbaa221424217f
CRs-Fixed: 2006960
| -rw-r--r-- | core/sap/src/sap_fsm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c index f10686159cce..b117018ff9af 100644 --- a/core/sap/src/sap_fsm.c +++ b/core/sap/src/sap_fsm.c @@ -3756,6 +3756,8 @@ static QDF_STATUS sap_fsm_state_ch_select(ptSapContext sap_ctx, sap_ctx->sapsMachine = eSAP_DISCONNECTED; QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR, FL("Cannot start BSS, ACS Fail")); + sap_signal_hdd_event(sap_ctx, NULL, eSAP_START_BSS_EVENT, + (void *)eSAP_STATUS_FAILURE); } else if (msg == eSAP_HDD_STOP_INFRA_BSS) { sap_ctx->sapsMachine = eSAP_DISCONNECTED; sap_signal_hdd_event(sap_ctx, NULL, eSAP_START_BSS_EVENT, |
