luci-mod-admin-full: adjust 80211w option default value
Adjust 802.11w default value from "0" to "" in order to avoid unnecessary
"option ieee80211w 0" lines in /etc/config/wireless
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(partial cherry pick from commit b0943391d8
)
This commit is contained in:
parent
12f98db8ba
commit
5be88e0c3e
1 changed files with 2 additions and 2 deletions
|
@ -1132,9 +1132,9 @@ if hwtype == "mac80211" then
|
||||||
translate("Requires the 'full' version of wpad/hostapd " ..
|
translate("Requires the 'full' version of wpad/hostapd " ..
|
||||||
"and support from the wifi driver <br />(as of Feb 2017: " ..
|
"and support from the wifi driver <br />(as of Feb 2017: " ..
|
||||||
"ath9k and ath10k, in LEDE also mwlwifi and mt76)"))
|
"ath9k and ath10k, in LEDE also mwlwifi and mt76)"))
|
||||||
ieee80211w.default = "0"
|
ieee80211w.default = ""
|
||||||
ieee80211w.rmempty = true
|
ieee80211w.rmempty = true
|
||||||
ieee80211w:value("0", translate("Disabled (default)"))
|
ieee80211w:value("", translate("Disabled (default)"))
|
||||||
ieee80211w:value("1", translate("Optional"))
|
ieee80211w:value("1", translate("Optional"))
|
||||||
ieee80211w:value("2", translate("Required"))
|
ieee80211w:value("2", translate("Required"))
|
||||||
ieee80211w:depends({mode="ap", encryption="wpa2"})
|
ieee80211w:depends({mode="ap", encryption="wpa2"})
|
||||||
|
|
Loading…
Reference in a new issue