Преглед на файлове

qcacld-3.0: Stop sap if there is no available channel

When radar is found, the current channel is put in NOL list and the state
is set as CHANNEL_STATE_DISABLE.

So change the channel state check from wlan_reg_is_dfs_ch to
wlan_reg_is_passive_or_disable_ch

Change-Id: If0595682100746cb12ddb8a1c3ca0106ccd1af21
CRs-Fixed: 2178842
bings преди 7 години
родител
ревизия
38b3d4f66c
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      core/sap/src/sap_api_link_cntl.c

+ 2 - 1
core/sap/src/sap_api_link_cntl.c

@@ -1066,7 +1066,8 @@ wlansap_roam_callback(void *ctx, struct csr_roam_info *csr_roam_info,
 				pSapContext =
 				    mac_ctx->sap.sapCtxList[intf].pSapContext;
 				profile = &pSapContext->csr_roamProfile;
-				if (!wlan_reg_is_dfs_ch(mac_ctx->pdev,
+				if (!wlan_reg_is_passive_or_disable_ch(
+						mac_ctx->pdev,
 						profile->operationChannel))
 					continue;
 				QDF_TRACE(QDF_MODULE_ID_SAP,