qcacmn: Avoid incrementing usable channel count for 0 freq
Currently if both filters are added to get usable channels i.e FILTER_CELLULAR_COEX and FILTER_WLAN_CONCURRENCY (3) then all channels for required band are added first and then response is updated based on cellular coex filter and invalid and avoided channel frequencies are removed based on provided mode but for FILTER_WLAN_CONCURRENCY pcl list is added, if frequency is not present in response channel list and count is incremented. As invalid frequencies are already removed from response before concurrency check , so some pcl frequencies will not be present in the list and count may be updated more than valid count. Fix is to add frequencies based on concurrency filter first and then remove invalid frequencies based on celluar coex filter to avoid any invalid increment of channel list count. Change-Id: I72b13c9c1f1bdfe3616d44fe893ce306634b022e CRs-Fixed: 3262059
Loading
Please register or sign in to comment