mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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:
parent
862915744c
commit
f2a75c0522
1 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue