qcacld-3.0: Allow scanning on DFS channel if sta+sap scc is enabled

Allow scanning on DFS channel if sta+sap scc on dfs channel is
enabled.

CRs-Fixed: 2163490
Change-Id: I7bb94ed211062ff0f0f0ca93c765d51f26e28ce2
This commit is contained in:
Bala Venkatesh 2018-06-11 15:58:25 +05:30 • committed by nshrivas
commit f2a75c0522

View file

@ -526,7 +526,9 @@ static int __wlan_hdd_cfg80211_scan(struct wiphy *wiphy,
con_sap_adapter->session.ap.operating_channel;
if (!policy_mgr_is_hw_dbs_capable(hdd_ctx->hdd_psoc) &&
wlan_reg_is_dfs_ch(hdd_ctx->hdd_pdev, con_dfs_ch)) {
wlan_reg_is_dfs_ch(hdd_ctx->hdd_pdev, con_dfs_ch) &&
!policy_mgr_is_sta_sap_scc_allowed_on_dfs_chan(
hdd_ctx->hdd_psoc)) {
/* Provide empty scan result during DFS operation since
* scanning not supported during DFS. Reason is
* following case: