commit | 14d2bf80b3402bfee61694b44b2e5b4053b91dbf | [log] [tgz] |
---|---|---|
author | Manikandan Mohan <manikand@codeaurora.org> | Wed Dec 18 18:25:35 2019 -0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Thu Dec 19 16:54:10 2019 -0800 |
tree | ad1f617cae5390161e0ebf9e99f2073c6798862d | |
parent | 1d0aa329d683a95900ee8e0f2317cd9f6a748761 [diff] |
qcacld-3.0: Fix get channel list with existing connections Reinitialize pcl_weight index in policy_mgr_get_channel_list for correct connection count. Change-Id: I96d38f1cb29014517f2c22e360db5d942eb66519 CRs-Fixed: 2589478
diff --git a/components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c b/components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c index b161203..b1f2c44 100644 --- a/components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c +++ b/components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c
@@ -2093,6 +2093,7 @@ num_channels = 0; sbs_num_channels = 0; + i = 0; /* In the below switch case, the channel list is populated based on the * pcl. e.g., if the pcl is PM_SCC_CH_24G, the SCC channel group is * populated first followed by the 2.4GHz channel group. Along with