summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmar Singhal <asinghal@codeaurora.org>2016-08-22 16:40:21 -0700
committerqcabuildsw <qcabuildsw@localhost>2016-11-07 13:13:41 -0800
commit095d1b4e37577594d6926acce3dd8c7900d32403 (patch)
tree9c2ecd4827b8ce282cfe44b81581f511b0688430
parent7d63cdae1a9b44c505d7c02c44ee92b26a8f5e12 (diff)
qcacld-3.0: Remove extra call to csr_update_channel_list
While running set_fcc_channel, call to csr_update_channel_list is conditional on pending scan. Remove the unconditional call to csr_update_channel_list. This is clearly a bug. CRs-Fixed: 1058416 Change-Id: I1b3ce52111ef8b61dde9d26e353c48e48b80a90b
-rw-r--r--core/sme/src/common/sme_api.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c
index 7721789c87ba..058209d99841 100644
--- a/core/sme/src/common/sme_api.c
+++ b/core/sme/src/common/sme_api.c
@@ -15678,8 +15678,6 @@ QDF_STATUS sme_handle_set_fcc_channel(tHalHandle hal, bool fcc_constraint,
mac_ptr->scan.defer_update_channel_list = true;
else
status = csr_update_channel_list(mac_ptr);
- /* update the channel list in firmware */
- status = csr_update_channel_list(mac_ptr);
}
sme_release_global_lock(&mac_ptr->sme);