diff mbox series

hostapd: fix 11w support in eap192 mode

Message ID 20210628103131.239040-1-john@phrozen.org
State Under Review
Delegated to: John Crispin
Headers show
Series hostapd: fix 11w support in eap192 mode | expand

Commit Message

John Crispin June 28, 2021, 10:31 a.m. UTC
wpa3 enterprise does not work without enabling 11w support.

Signed-off-by: John Crispin <john@phrozen.org>
---
 package/network/services/hostapd/files/hostapd.sh | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 7d035a299b..06d6c579af 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -49,6 +49,7 @@  hostapd_append_wpa_key_mgmt() {
 		eap192)
 			append wpa_key_mgmt "WPA-EAP-SUITE-B-192"
 			[ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt "FT-EAP"
+			[ "${ieee80211w:-0}" -gt 0 ] && append wpa_key_mgmt "WPA-EAP-SHA256"
 		;;
 		eap-eap192)
 			append wpa_key_mgmt "WPA-EAP-SUITE-B-192"