浏览代码

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
Amar Singhal 8 年之前
父节点
当前提交
8c8fa7f7b7
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      core/sme/src/common/sme_api.c

+ 0 - 2
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);