mesh: Fix HE enablement on 5 GHz with VHT
Incorrect he_enabled parameter was being passed to
hostapd_set_freq_params() in mesh which caused HE to be not fully
enabled on the 5 GHz band. Fix this by setting freq->he_enabled instead
of vht_freq.he_enabled so that the hostapd_set_freq_params() uses the
correct he_enabled value (and then ends up copying this to
vht_freq.he_enabled in the success case).
Fixes: 6e711e7ab3
("mesh: Do not enable HE on 5 GHz without VHT")
Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
This commit is contained in:
parent
8b077a42e5
commit
43282f7329
1 changed files with 2 additions and 2 deletions
|
@ -2494,8 +2494,8 @@ skip_ht40:
|
||||||
if (!vht_freq.vht_enabled)
|
if (!vht_freq.vht_enabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* Enable HE for VHT */
|
/* Enable HE with VHT for 5 GHz */
|
||||||
vht_freq.he_enabled = mode->he_capab[ieee80211_mode].he_supported;
|
freq->he_enabled = mode->he_capab[ieee80211_mode].he_supported;
|
||||||
|
|
||||||
/* setup center_freq1, bandwidth */
|
/* setup center_freq1, bandwidth */
|
||||||
for (j = 0; j < ARRAY_SIZE(vht80); j++) {
|
for (j = 0; j < ARRAY_SIZE(vht80); j++) {
|
||||||
|
|
Loading…
Reference in a new issue