소스 검색

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
Ashish Kumar Dhanotiya 8 년 전
부모
커밋
48c6b6e708
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      core/sap/src/sap_fsm.c

+ 2 - 0
core/sap/src/sap_fsm.c

@@ -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,