mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
qcacld-3.0: Modify condition to cover 5G+160MHz
Add a condition to avoid closing SAP automatically when set 5g_160Mhz mode Change-Id: I712a588558874c2c86144e7e729a242007eccf77
This commit is contained in:
parent
7983019735
commit
e2ec0a713e
1 changed files with 2 additions and 2 deletions
|
|
@ -2019,8 +2019,8 @@ static QDF_STATUS sap_cac_start_notify(mac_handle_t mac_handle)
|
|||
/* Don't start CAC for non-dfs channel, its violation */
|
||||
profile = &sap_context->csr_roamProfile;
|
||||
ch_freq = profile->op_freq;
|
||||
if (!wlan_reg_is_dfs_for_freq(mac->pdev,
|
||||
ch_freq))
|
||||
if (!wlan_reg_is_dfs_for_freq(mac->pdev, ch_freq) &&
|
||||
wlan_reg_get_5g_bonded_channel_state_for_freq(mac->pdev, ch_freq, profile->ch_params.ch_width) != CHANNEL_STATE_DFS)
|
||||
continue;
|
||||
sap_debug("sapdfs: Signaling eSAP_DFS_CAC_START to HDD for sapctx[%pK]",
|
||||
sap_context);
|
||||
|
|
|
|||
Loading…
Reference in a new issue