summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus Fernandez Manzano2024-01-22 12:52:18 +0000
committerJo-Philipp Wich2024-03-06 13:01:41 +0000
commite5a12edb883fe246afdb6bf897286865b0d4eeb5 (patch)
tree2d006281b720e5f9b236a28780ede58539271b06
parenta527b34390f1cbe9b0bcffbc3b6e4e0059b0e251 (diff)
downloadopenwrt-e5a12edb883fe246afdb6bf897286865b0d4eeb5.tar.gz
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 <jesus.manzano@galgus.ai> (cherry picked from commit e2f6bfb833a1ba099e1dcf0e569e4ef11c31c391) Fixes: https://github.com/openwrt/luci/issues/6930 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--package/network/services/hostapd/files/hostapd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 5d588b3bde..73bd1bbeeb 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -909,7 +909,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
;;
*)