summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>2019-04-24 22:45:01 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-05-02 05:02:02 -0700
commite634d1741b5ee45ecde55af2df3d803aa70382a1 (patch)
tree753aaa3666c599784318d718e5465781c8fa4fc5
parent482ef9c1c973aed2960ce50393f8513f54f80b54 (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.c8
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 e9fb7daff066..db2cf6882f61 100644
--- a/core/sme/src/csr/csr_api_scan.c
+++ b/core/sme/src/csr/csr_api_scan.c
@@ -3799,7 +3799,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;
@@ -3815,9 +3814,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;
}
}