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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
5bd0538345
commit
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user