[PATCH 1/2] AP: Respect disable_eht network config option

Nicolas Escande nico.escande at gmail.com
Wed Mar 4 06:39:49 PST 2026


This adds the missing bit to to disable EHT support in a wpa_supplicant
network block. This follows the same logic as what was done previously for
disable_he/disable_vht/disable_ht

Signed-off-by: Nicolas Escande <nico.escande at gmail.com>
---
 wpa_supplicant/ap.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index 0970a7041662..009a8d4318fa 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -328,6 +328,9 @@ int wpa_supplicant_conf_ap_ht(struct wpa_supplicant *wpa_s,
 			ssid->he = 0;
 #endif /* CONFIG_HE_OVERRIDES */
 
+		if (ssid->disable_eht)
+			ssid->eht = 0;
+
 		if (!ssid->ht) {
 			wpa_printf(MSG_DEBUG,
 				   "HT not enabled in network profile");
-- 
2.53.0




More information about the Hostap mailing list