mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Fix invalid opclass error while processing BCN RPT
In case if AP's country code present as "US 0x4" in beacon report request, it means AP wants us to use global opclass. Fix is to allow driver to use global opclass AP's country code present as "US 0x4" in beacon report. Change-Id: I3f6c132803dc4c5a85aea95c5fc39ac7be670aee CRs-fixed: 2706733
This commit is contained in:
parent
610272d619
commit
555d20fd3d
1 changed files with 4 additions and 3 deletions
|
|
@ -742,10 +742,11 @@ rrm_process_beacon_report_req(struct mac_context *mac,
|
|||
}
|
||||
|
||||
psbrr->channel_list.chan_freq_lst[ch_ctr++] =
|
||||
wlan_reg_chan_opclass_to_freq(
|
||||
wlan_reg_country_chan_opclass_to_freq(
|
||||
mac->pdev, country,
|
||||
ie_ap_chan_rpt->channelList[tmp_idx],
|
||||
ie_ap_chan_rpt->regulatoryClass,
|
||||
false);
|
||||
ie_ap_chan_rpt->regulatoryClass, true);
|
||||
|
||||
if (ch_ctr >= QDF_ARRAY_SIZE(psbrr->channel_list.chan_freq_lst))
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue