qcacld-3.0: Remove DFS check after cac end notify

DFS check cannot be on atomic channel, but full channel width.

Change-Id: I6f7ea80923db6ea96c995d1d5a2faf8b4576950f
CRs-Fixed: 2615778
This commit is contained in:
Amar Singhal
2020-02-07 15:04:15 -08:00
committed by nshrivas
parent 2768e99057
commit 8bf9970419

View File

@@ -1997,8 +1997,10 @@ static QDF_STATUS sap_cac_end_notify(mac_handle_t mac_handle,
/* Don't check CAC for non-dfs channel */
profile = &sap_context->csr_roamProfile;
freq = profile->op_freq;
if (!wlan_reg_chan_has_dfs_attribute_for_freq(mac->pdev,
freq))
if (CHANNEL_STATE_DFS !=
wlan_reg_get_5g_bonded_channel_state_for_freq(mac->pdev,
freq,
profile->ch_params.ch_width))
continue;
/* If this is an end notification of a pre cac, the