diff --git a/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua b/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua index 1be55abdff..43f17c639f 100644 --- a/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua +++ b/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua @@ -49,10 +49,11 @@ local encryption = s:option(ListValue, "encryption", translate("Encryption")) encryption:depends(enabled, true) encryption:value("psk2", translate("WPA2")) if wireless.device_supports_wpa3() then - encryption:value("psk3-mixed", translate("WPA2 / WPA3")) - encryption:value("psk3", translate("WPA3")) + encryption:value("sae-mixed", translate("WPA2 / WPA3")) + encryption:value("sae", translate("WPA3")) end -encryption.default = uci:get('wireless', primary_iface, 'encryption') or "psk2" +encryption_value = uci:get('wireless', primary_iface, 'encryption') or "psk2" +encryption.default = encryption_value:gsub("psk3", "sae") local mfp = s:option(ListValue, "mfp", translate("Management Frame Protection")) mfp:depends(enabled, true)