From: Jesus Fernandez Manzano Date: Mon, 22 Jan 2024 12:52:18 +0000 (+0100) Subject: hostapd: fix 11r defaults when using SAE X-Git-Url: http://git.openwrt.org/openwrt/static/gitweb.js?a=commitdiff_plain;h=e2f6bfb833a1ba099e1dcf0e569e4ef11c31c391;p=openwrt%2Fstaging%2Fsvanheule.git hostapd: fix 11r defaults when using SAE When using WPA3-SAE or WPA2/WPA3 Personal Mixed, we can not use ft_psk_generate_local because it will break FT for SAE. Instead use the r0kh and r1kh configuration approach. Signed-off-by: Jesus Fernandez Manzano --- diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 058d0f404b..ca95fcf70f 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -920,7 +920,7 @@ hostapd_set_bss_options() { set_default reassociation_deadline 1000 case "$auth_type" in - psk|sae|psk-sae) + psk) set_default ft_psk_generate_local 1 ;; *)