mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Fix to not set HT/VHT flag for 6ghz scan
During 6ghz scan, host should not set HT/VHT flag
when sending configuration to FW via WMI_SCAN_CHAN_LIST_CMDID.
Change-Id: I5a58c775f173e90f91f6e7472ced3d59adfd8f73
CRs-Fixed: 2605744
This commit is contained in:
parent
07bce4a14b
commit
3e72b33bf0
1 changed files with 4 additions and 2 deletions
|
|
@ -178,11 +178,13 @@ QDF_STATUS wma_update_channel_list(WMA_HANDLE handle,
|
|||
chan_p->allow_vht = 1;
|
||||
} else {
|
||||
chan_p->phy_mode = MODE_11A;
|
||||
if (chan_list->vht_en)
|
||||
if (chan_list->vht_en &&
|
||||
!(WLAN_REG_IS_6GHZ_CHAN_FREQ(chan_p->mhz)))
|
||||
chan_p->allow_vht = 1;
|
||||
}
|
||||
|
||||
if (chan_list->ht_en)
|
||||
if (chan_list->ht_en &&
|
||||
!(WLAN_REG_IS_6GHZ_CHAN_FREQ(chan_p->mhz)))
|
||||
chan_p->allow_ht = 1;
|
||||
|
||||
if (chan_list->he_en)
|
||||
|
|
|
|||
Loading…
Reference in a new issue