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
This commit is contained in:
bings 2018-03-14 11:45:36 +08:00 • committed by nshrivas
commit 3fe5bc31bf

View file

@ -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);