From: peterhuang Date: Thu, 19 Aug 2021 11:22:06 +0000 (+0800) Subject: Update ieee80211ac when channel switching X-Git-Tag: hostap_2_10~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5606ede1214ff74b5c83318c6b591edfaf879e06;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c index 913a8e29e..767314a47 100644 --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c @@ -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);