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.datatype = "uinteger"
|
||||||
retry_timeout.placeholder = "201"
|
retry_timeout.placeholder = "201"
|
||||||
retry_timeout.rmempty = true
|
retry_timeout.rmempty = true
|
||||||
|
end
|
||||||
|
|
||||||
local key_retries = s:taboption("encryption", Flag, "wpa_disable_eapol_key_retries",
|
local key_retries = s:taboption("encryption", Flag, "wpa_disable_eapol_key_retries",
|
||||||
translate("Enable key reinstallation (KRACK) countermeasures"),
|
translate("Enable key reinstallation (KRACK) countermeasures"),
|
||||||
|
@ -1173,7 +1174,6 @@ if hwtype == "mac80211" then
|
||||||
key_retries:depends({mode="ap-wds", encryption="psk2"})
|
key_retries:depends({mode="ap-wds", encryption="psk2"})
|
||||||
key_retries:depends({mode="ap-wds", encryption="psk-mixed"})
|
key_retries:depends({mode="ap-wds", encryption="psk-mixed"})
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
if hwtype == "atheros" or hwtype == "mac80211" or hwtype == "prism2" then
|
if hwtype == "atheros" or hwtype == "mac80211" or hwtype == "prism2" then
|
||||||
local wpasupplicant = fs.access("/usr/sbin/wpa_supplicant")
|
local wpasupplicant = fs.access("/usr/sbin/wpa_supplicant")
|
||||||
|
|
Loading…
Reference in a new issue