qcacld-3.0: Handle the channel selection failure case for ACS mode

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
This commit is contained in:
Ashish Kumar Dhanotiya
2017-03-07 10:55:25 +05:30
committed by qcabuildsw
parent 2fb8662d25
commit 48c6b6e708

View File

@@ -3788,6 +3788,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,