mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-20 19:48:54 +00:00
hostapd: remove eap-eap192 auth type value
It is no longer used
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit b0501d380f
)
This commit is contained in:
parent
6e09f88d29
commit
90d5961751
@ -50,14 +50,6 @@ hostapd_append_wpa_key_mgmt() {
|
|||||||
append wpa_key_mgmt "WPA-EAP-SUITE-B-192"
|
append wpa_key_mgmt "WPA-EAP-SUITE-B-192"
|
||||||
[ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt "FT-EAP-SHA384"
|
[ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt "FT-EAP-SHA384"
|
||||||
;;
|
;;
|
||||||
eap-eap192)
|
|
||||||
append wpa_key_mgmt "WPA-EAP-SUITE-B-192"
|
|
||||||
append wpa_key_mgmt "WPA-EAP-SHA256"
|
|
||||||
[ "${ieee80211r:-0}" -gt 0 ] && {
|
|
||||||
append wpa_key_mgmt "FT-EAP-SHA384"
|
|
||||||
append wpa_key_mgmt "FT-EAP"
|
|
||||||
}
|
|
||||||
;;
|
|
||||||
eap-eap2)
|
eap-eap2)
|
||||||
append wpa_key_mgmt "WPA-EAP"
|
append wpa_key_mgmt "WPA-EAP"
|
||||||
append wpa_key_mgmt "WPA-EAP-SHA256"
|
append wpa_key_mgmt "WPA-EAP-SHA256"
|
||||||
@ -650,7 +642,7 @@ hostapd_set_bss_options() {
|
|||||||
[ -n "$ocv" ] && append bss_conf "ocv=$ocv" "$N"
|
[ -n "$ocv" ] && append bss_conf "ocv=$ocv" "$N"
|
||||||
|
|
||||||
case "$auth_type" in
|
case "$auth_type" in
|
||||||
sae|owe|eap2|eap192|eap-eap192)
|
sae|owe|eap2|eap192)
|
||||||
set_default ieee80211w 2
|
set_default ieee80211w 2
|
||||||
set_default sae_require_mfp 1
|
set_default sae_require_mfp 1
|
||||||
set_default sae_pwe 2
|
set_default sae_pwe 2
|
||||||
@ -706,7 +698,7 @@ hostapd_set_bss_options() {
|
|||||||
vlan_possible=1
|
vlan_possible=1
|
||||||
wps_possible=1
|
wps_possible=1
|
||||||
;;
|
;;
|
||||||
eap|eap2|eap-eap2|eap192|eap-eap192)
|
eap|eap2|eap-eap2|eap192)
|
||||||
json_get_vars \
|
json_get_vars \
|
||||||
auth_server auth_secret auth_port \
|
auth_server auth_secret auth_port \
|
||||||
dae_client dae_secret dae_port \
|
dae_client dae_secret dae_port \
|
||||||
@ -1313,7 +1305,7 @@ wpa_supplicant_add_network() {
|
|||||||
default_disabled
|
default_disabled
|
||||||
|
|
||||||
case "$auth_type" in
|
case "$auth_type" in
|
||||||
sae|owe|eap2|eap192|eap-eap192)
|
sae|owe|eap2|eap192)
|
||||||
set_default ieee80211w 2
|
set_default ieee80211w 2
|
||||||
;;
|
;;
|
||||||
psk-sae)
|
psk-sae)
|
||||||
@ -1396,7 +1388,7 @@ wpa_supplicant_add_network() {
|
|||||||
fi
|
fi
|
||||||
append network_data "$passphrase" "$N$T"
|
append network_data "$passphrase" "$N$T"
|
||||||
;;
|
;;
|
||||||
eap|eap2|eap192|eap-eap192)
|
eap|eap2|eap192)
|
||||||
hostapd_append_wpa_key_mgmt
|
hostapd_append_wpa_key_mgmt
|
||||||
key_mgmt="$wpa_key_mgmt"
|
key_mgmt="$wpa_key_mgmt"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user