Skip to content

Commit

Permalink
gluon-core: rename psk3 to sae as it is used in openwrt that way
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerle committed Jan 5, 2025
1 parent c31c7d7 commit 964dae5
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 964dae5

Please sign in to comment.