mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
hostapd: fix FILS key mgmt type for WPA3 Enterprise 192 bit
Use the SHA384 variant to account for longer keys with more security
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit f0d1349b52
)
This commit is contained in:
parent
a701e6e1c2
commit
98d0ee9dbf
@ -77,6 +77,10 @@ hostapd_append_wpa_key_mgmt() {
|
|||||||
|
|
||||||
[ "$fils" -gt 0 ] && {
|
[ "$fils" -gt 0 ] && {
|
||||||
case "$auth_type" in
|
case "$auth_type" in
|
||||||
|
eap-192)
|
||||||
|
append wpa_key_mgmt FILS-SHA384
|
||||||
|
[ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt FT-FILS-SHA384
|
||||||
|
;;
|
||||||
eap*)
|
eap*)
|
||||||
append wpa_key_mgmt FILS-SHA256
|
append wpa_key_mgmt FILS-SHA256
|
||||||
[ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt FT-FILS-SHA256
|
[ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt FT-FILS-SHA256
|
||||||
|
Loading…
Reference in New Issue
Block a user