mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Correctly set channelBondingMode5GHz
In wlan_hdd_update_phymode() when the curr_band is set to BAND_5G the channelBondingMode5GHz is not correctly set. Fix the logic which currently has duplicated test for BAND_2G to test for both BAND_2G and BAND_5G. Change-Id: I70ed07d12ae891374e511905213ef7fcc7a7f1f1 CRs-Fixed: 2232919
This commit is contained in:
parent
67c583add9
commit
3d72577fe2
1 changed files with 1 additions and 1 deletions
|
|
@ -4072,7 +4072,7 @@ int wlan_hdd_update_phymode(struct net_device *net, tHalHandle hal,
|
|||
phddctx->config->Is11hSupportEnabled;
|
||||
if (curr_band == BAND_2G)
|
||||
sme_config->csrConfig.channelBondingMode24GHz = chwidth;
|
||||
else if (curr_band == BAND_2G)
|
||||
else if (curr_band == BAND_5G)
|
||||
sme_config->csrConfig.channelBondingMode5GHz = chwidth;
|
||||
else {
|
||||
sme_config->csrConfig.channelBondingMode24GHz = chwidth;
|
||||
|
|
|
|||
Loading…
Reference in a new issue