hostapd: fix FILS AKM selection with EAP-192
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Sat, 3 Feb 2024 19:33:14 +0000 (16:33 -0300)
committerEneas U de Queiroz <cotequeiroz@gmail.com>
Sat, 17 Feb 2024 14:41:01 +0000 (11:41 -0300)
Fix netifd hostapd.sh selection of FILS-SHA384 algorithm with eap-192.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 472312f83f886a0749672a634948726fda9c2401)

package/network/services/hostapd/files/hostapd.sh

index 271c1f7becd27064f3e244298e6058abb5f06177..5d588b3bde0126467e9c92eea1a4b600a191a9ee 100644 (file)
@@ -77,7 +77,7 @@ hostapd_append_wpa_key_mgmt() {
 
        [ "$fils" -gt 0 ] && {
                case "$auth_type" in
-                       eap-192)
+                       eap192)
                                append wpa_key_mgmt FILS-SHA384
                                [ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt FT-FILS-SHA384
                        ;;