diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index ff7c75644..2fc9f453b 100644 --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c @@ -314,8 +314,20 @@ int wpa_supplicant_conf_ap_ht(struct wpa_supplicant *wpa_s, #ifdef CONFIG_HT_OVERRIDES if (ssid->disable_ht) ssid->ht = 0; + if (ssid->disable_ht40) + ssid->ht40 = 0; #endif /* CONFIG_HT_OVERRIDES */ +#ifdef CONFIG_VHT_OVERRIDES + if (ssid->disable_vht) + ssid->vht = 0; +#endif /* CONFIG_VHT_OVERRIDES */ + +#ifdef CONFIG_HE_OVERRIDES + if (ssid->disable_he) + ssid->he = 0; +#endif /* CONFIG_HE_OVERRIDES */ + if (!ssid->ht) { wpa_printf(MSG_DEBUG, "HT not enabled in network profile");