diff options
| author | Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org> | 2019-04-24 22:45:01 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-04-25 07:45:52 -0700 |
| commit | fcbb5b716b99ad86a383caa4bcfb4a57cbb01ddd (patch) | |
| tree | 95e8fa217593f0354f94b8a2d025f31c1657ae3d | |
| parent | f97b382ef80124e5007463b9b77e03c813395a35 (diff) | |
qcacld-3.0: Do not disable 11d voting in connected state
If 11d is enabled, then during STA connection country code is updated to
access point's country and 11d voting mechanism is temporarily disabled.
To comply with FCC regulatory rules, 11d voting should not be disabled
in connected state.
Change-Id: I26addf9fccd34893d6af7dcdedf0a794640f3575
CRs-fixed: 2438123
| -rw-r--r-- | core/sme/src/csr/csr_api_scan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/sme/src/csr/csr_api_scan.c b/core/sme/src/csr/csr_api_scan.c index 3d37700ae843..7aa68046e552 100644 --- a/core/sme/src/csr/csr_api_scan.c +++ b/core/sme/src/csr/csr_api_scan.c @@ -3815,7 +3815,6 @@ static void csr_move_temp_scan_results_to_main_list(tpAniSirGlobal pMac, uint8_t reason, uint8_t sessionId) { - tCsrRoamSession *pSession; uint32_t i; bool found_11d_ctry = false; @@ -3831,9 +3830,10 @@ static void csr_move_temp_scan_results_to_main_list(tpAniSirGlobal pMac, for (i = 0; i < CSR_ROAM_SESSION_MAX; i++) { if (!CSR_IS_SESSION_VALID(pMac, i)) continue; - pSession = CSR_GET_SESSION(pMac, i); - if (csr_is_conn_state_connected(pMac, i)) { - sme_debug("No need to update CC in connected state"); + if (csr_is_conn_state_connected_infra_ap(pMac, i) || + csr_is_conn_state_connected_ibss(pMac, i) || + csr_is_conn_state_connected_wds(pMac, i)) { + sme_debug("No need to update CC in softap/ibss/wds"); return; } } |
