mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
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
This commit is contained in:
parent
a40580951c
commit
38b3d4f66c
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue