From 3fe5bc31bf529e630520ddbd1036a0e4056a060b Mon Sep 17 00:00:00 2001 From: bings Date: Wed, 14 Mar 2018 11:45:36 +0800 Subject: [PATCH] qcacld-3.0: Configure phyerr filter offload before sap starts Do not send phyerr filter offload to FW when dfs module is doing initialization, because in target_if_dfs_set_phyerr_filter_offload routine GET_WMI_HDL_FROM_PDEV returns NULL at this time. Configure phyerr filter offload before sap starts. Change-Id: I60436fc1e142937383a3714c727166bc5fa8d0db CRs-Fixed: 2205229 --- core/sap/src/sap_fsm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c index 94edaee8f15f..c7cbd8279267 100644 --- a/core/sap/src/sap_fsm.c +++ b/core/sap/src/sap_fsm.c @@ -595,6 +595,7 @@ void sap_dfs_set_current_channel(void *ctx) if (wlan_reg_is_dfs_ch(pdev, sap_ctx->channel)) { tgt_dfs_get_radars(pdev); + tgt_dfs_set_phyerr_filter_offload(pdev); if (sap_ctx->csr_roamProfile.disableDFSChSwitch) tgt_dfs_control(pdev, DFS_SET_USENOL, &use_nol, sizeof(uint32_t), NULL, NULL, &error);