diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index 7de924945..67f2d8ac1 100644 --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c @@ -175,6 +175,9 @@ no_vht: hostapd_set_oper_centr_freq_seg0_idx( conf, conf->channel + conf->secondary_channel * 2); hostapd_set_oper_chwidth(conf, CONF_OPER_CHWIDTH_USE_HT); + ieee80211_freq_to_channel_ext(ssid->frequency, 0, + conf->vht_oper_chwidth, + &conf->op_class, &conf->channel); }