mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Clear wlan_reg_freq_to_chan
Clear wlan_reg_freq_to_chan in csr_fill_bss_from_scan_entry. Change-Id: I06b2eef0f1c965466c1ec67edd3ea48db07dddc7 CRs-Fixed: 2570933
This commit is contained in:
parent
a7f1c222a9
commit
a07736a6da
1 changed files with 2 additions and 4 deletions
|
|
@ -2362,11 +2362,9 @@ static QDF_STATUS csr_fill_bss_from_scan_entry(struct mac_context *mac_ctx,
|
|||
enum channel_state ap_channel_state;
|
||||
|
||||
ap_channel_state =
|
||||
wlan_reg_get_channel_state(
|
||||
wlan_reg_get_channel_state_for_freq(
|
||||
mac_ctx->pdev,
|
||||
wlan_reg_freq_to_chan(
|
||||
mac_ctx->pdev,
|
||||
scan_entry->channel.chan_freq));
|
||||
scan_entry->channel.chan_freq);
|
||||
if (ap_channel_state == CHANNEL_STATE_DISABLE ||
|
||||
ap_channel_state == CHANNEL_STATE_INVALID) {
|
||||
sme_err("BSS %pM channel %d invalid, not populating this BSSID",
|
||||
|
|
|
|||
Loading…
Reference in a new issue