qcacld-3.0: Modify mode check for 11ACrates
Currently to set11ACRates checking the mode as 11ac or 11ac_only, for higher modes like 11ax which will support 11ac as well skips the set11ACRates. Modify condition to set11ACRates for all 11ac supported modes. Change-Id: Ic6bd15afcc08bd308ac3f68f149c608de63ccaba CRs-Fixed: 3305714
This commit is contained in:

committed by
Madan Koyyalamudi

parent
6864e1582c
commit
96f6e5174d
@@ -691,8 +691,9 @@ static __iw_softap_setparam(struct net_device *dev,
|
||||
struct sap_config *config =
|
||||
&adapter->session.ap.sap_config;
|
||||
|
||||
if (config->SapHw_mode != eCSR_DOT11_MODE_11ac &&
|
||||
config->SapHw_mode != eCSR_DOT11_MODE_11ac_ONLY) {
|
||||
if (config->SapHw_mode < eCSR_DOT11_MODE_11ac ||
|
||||
config->SapHw_mode == eCSR_DOT11_MODE_11ax_ONLY ||
|
||||
config->SapHw_mode == eCSR_DOT11_MODE_11be_ONLY) {
|
||||
hdd_err("SET_VHT_RATE: SapHw_mode= 0x%x, ch_freq: %d",
|
||||
config->SapHw_mode, config->chan_freq);
|
||||
ret = -EIO;
|
||||
|
Reference in New Issue
Block a user