mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Skip CAC if precac is done already for the vdev
No need to run CAC again if precac is done already for the SAP vdev. Change-Id: Icfdd8c3fdb3404143b085a47fd7772270e8dca76 CRs-Fixed: 2850434
This commit is contained in:
parent
a497f2a6ad
commit
6b1b0967f3
1 changed files with 4 additions and 1 deletions
|
|
@ -5078,7 +5078,10 @@ static void lim_process_sme_channel_change_request(struct mac_context *mac_ctx,
|
|||
session_entry->curr_op_freq = target_freq;
|
||||
session_entry->limRFBand = lim_get_rf_band(
|
||||
session_entry->curr_op_freq);
|
||||
session_entry->cac_duration_ms = ch_change_req->cac_duration_ms;
|
||||
if (mlme_get_cac_required(session_entry->vdev))
|
||||
session_entry->cac_duration_ms = ch_change_req->cac_duration_ms;
|
||||
else
|
||||
session_entry->cac_duration_ms = 0;
|
||||
session_entry->dfs_regdomain = ch_change_req->dfs_regdomain;
|
||||
session_entry->maxTxPower = max_tx_pwr;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue