Update ieee80211ac when channel switching
hostapd will build wrong beacon_after in hostapd_fill_csa_settings() if it doesn't update ieee80211ac when channel switching. Signed-off-by: peterhuang <peterhuang@realtek.com>
This commit is contained in:
parent
e6db1bc5da
commit
5606ede121
1 changed files with 1 additions and 0 deletions
|
@ -3482,6 +3482,7 @@ static int hostapd_change_config_freq(struct hostapd_data *hapd,
|
|||
|
||||
conf->channel = channel;
|
||||
conf->ieee80211n = params->ht_enabled;
|
||||
conf->ieee80211ac = params->vht_enabled;
|
||||
conf->secondary_channel = params->sec_channel_offset;
|
||||
ieee80211_freq_to_chan(params->center_freq1,
|
||||
&seg0);
|
||||
|
|
Loading…
Reference in a new issue