luci-mod-admin-full: move KRACK countermeasures out of IEEE802.11w condition
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
d3f0685d63
commit
7fc88b4e6e
1 changed files with 31 additions and 31 deletions
|
@ -1161,6 +1161,7 @@ if hwtype == "mac80211" then
|
|||
retry_timeout.datatype = "uinteger"
|
||||
retry_timeout.placeholder = "201"
|
||||
retry_timeout.rmempty = true
|
||||
end
|
||||
|
||||
local key_retries = s:taboption("encryption", Flag, "wpa_disable_eapol_key_retries",
|
||||
translate("Enable key reinstallation (KRACK) countermeasures"),
|
||||
|
@ -1172,7 +1173,6 @@ if hwtype == "mac80211" then
|
|||
key_retries:depends({mode="ap-wds", encryption="wpa2"})
|
||||
key_retries:depends({mode="ap-wds", encryption="psk2"})
|
||||
key_retries:depends({mode="ap-wds", encryption="psk-mixed"})
|
||||
end
|
||||
end
|
||||
|
||||
if hwtype == "atheros" or hwtype == "mac80211" or hwtype == "prism2" then
|
||||
|
|
Loading…
Reference in a new issue