qcacld-3.0: Update correct len/last index for pcl entries

Currently, for pcl where 2G channels are added pcl index is
updated to total no. of 2G channels only and first 11 entries
are considered in dump from final pcl list.

Fix is to add total no of 2G channels in pcl index instead of
overwriting pcl index with no. of 2G channels.

Change-Id: Ibcd2509ecb052bfde62a47a6dee38dd17c3d1c8f
CRs-Fixed: 3166961
此提交包含在:
Sheenam Monga
2022-04-05 16:35:39 +05:30
提交者 Madan Koyyalamudi
父節點 5bd0538345
當前提交 62f33fac92

查看文件

@@ -2660,7 +2660,7 @@ policy_mgr_add_24g_to_pcl(uint32_t *pcl_freqs, uint8_t *pcl_weights,
pcl_freqs[i + *index] = chlist_24g[i];
}
*index = i;
*index += i;
policy_mgr_debug("Add 24g chlist len %d len %d index %d",
chlist_24g_len, num_to_add, *index);
}