hostapd: fix 11r defaults when using SAE
authorJesus Fernandez Manzano <jesus.manzano@galgus.ai>
Mon, 22 Jan 2024 12:52:18 +0000 (13:52 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 25 Jan 2024 19:02:40 +0000 (20:02 +0100)
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>
package/network/services/hostapd/files/hostapd.sh

index 058d0f404b2335ee97e67a93b20a46d2411cd0e4..ca95fcf70f62961fb2147d8f047b6b50ec36c7f6 100644 (file)
@@ -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
                                ;;
                                *)