qcacld-3.0: Remove unused scan filter

Remove unused scan filter params.

Change-Id: I2b34f78616a13e99483792c83ac3df63b1c94d03
CRs-Fixed: 2722138
This commit is contained in:
gaurank kathpalia 2020-06-30 18:25:37 +05:30 committed by nshrivas
parent fb4325a69d
commit 06ecb758cd
2 changed files with 0 additions and 17 deletions

View File

@ -10862,24 +10862,12 @@ csr_roam_get_scan_filter_from_profile(struct mac_context *mac_ctx,
profile->mcEncryptionType.encryptionType[i]);
}
if (profile->BSSType == eCSR_BSS_TYPE_INFRASTRUCTURE)
filter->bss_type = WLAN_TYPE_BSS;
else
filter->bss_type = WLAN_TYPE_ANY;
phy_mode = profile->phyMode;
csr_update_phy_mode(profile, &phy_mode);
filter->dot11_mode = csr_convert_dotllmod_phymode(phy_mode);
if (profile->bWPSAssociation || profile->bOSENAssociation)
filter->ignore_auth_enc_type = true;
if (profile->countryCode[0])
/*
* This causes the matching function to use countryCode as one
* of the criteria.
*/
qdf_mem_copy(filter->country, profile->countryCode,
REG_ALPHA2_LEN + 1);
filter->mobility_domain = profile->mdid.mobility_domain;
qdf_mem_copy(filter->bssid_hint.bytes, profile->bssid_hint.bytes,

View File

@ -399,11 +399,6 @@ csr_neighbor_roam_get_scan_filter_from_profile(struct mac_context *mac,
filter->mc_enc_type[0] =
csr_covert_enc_type_new(profile->mcEncryptionType);
if (profile->BSSType == eCSR_BSS_TYPE_INFRASTRUCTURE)
filter->bss_type = WLAN_TYPE_BSS;
else
filter->bss_type = WLAN_TYPE_ANY;
chan_info = &nbr_roam_info->roamChannelInfo.currentChannelListInfo;
num_ch = chan_info->numOfChannels;
if (num_ch) {