mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Fix connection information deleting and restoring
Currently only one connection information corresponding to the provided mode is deleted and restored, which causes channel selecting failure in DFS testing with AP+AP concurrency mode. When radar is found in AP+AP concurrency mode, a new valid channel should be selected. Before selecting the channel, all existing connection information of SAP mode should be deleted, otherwise no valid channel can be selected. All the connection information corresponding to the provided mode should be deleted and restored. Change-Id: Id363dbb2c31485fefcd6915696060923063079bb CRs-Fixed: 2078021
This commit is contained in:
parent
c626f85fd4
commit
37bd58f57a
1 changed files with 2 additions and 1 deletions
|
|
@ -6923,7 +6923,8 @@ static uint8_t hdd_get_safe_channel_from_pcl_and_acs_range(
|
|||
|
||||
status = policy_mgr_get_pcl_for_existing_conn(hdd_ctx->hdd_psoc,
|
||||
PM_SAP_MODE, pcl.pcl_list, &pcl.pcl_len,
|
||||
pcl.weight_list, QDF_ARRAY_SIZE(pcl.weight_list));
|
||||
pcl.weight_list, QDF_ARRAY_SIZE(pcl.weight_list),
|
||||
false);
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
hdd_err("Get PCL failed");
|
||||
return INVALID_CHANNEL_ID;
|
||||
|
|
|
|||
Loading…
Reference in a new issue