diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-02 09:39:35 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-02 09:39:35 +0100 |
commit | 6d7b293692e339459b591a5da27ea32f268e4bc7 (patch) | |
tree | 902886c9f99e9bbc9c42c82641ff6e40b0631ed0 | |
parent | 6982bbb3fef11c0817c5674db2082fe87ba11a92 (diff) | |
parent | 4074440529d7230ef756ee5a8d1580361977def1 (diff) |
Merge pull request #637 from matthewreeve/patch-1
luci-mod-admin-full: Identity field is required for EAP-TLS, too.
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua index e227b0874..9db42e3c4 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -959,6 +959,10 @@ if hwtype == "atheros" or hwtype == "mac80211" or hwtype == "prism2" then identity:depends({mode="sta-wds", eap_type="peap", encryption="wpa"}) identity:depends({mode="sta-wds", eap_type="ttls", encryption="wpa2"}) identity:depends({mode="sta-wds", eap_type="ttls", encryption="wpa"}) + identity:depends({mode="sta", eap_type="tls", encryption="wpa2"}) + identity:depends({mode="sta", eap_type="tls", encryption="wpa"}) + identity:depends({mode="sta-wds", eap_type="tls", encryption="wpa2"}) + identity:depends({mode="sta-wds", eap_type="tls", encryption="wpa"}) password = s:taboption("encryption", Value, "password", translate("Password")) password:depends({mode="sta", eap_type="fast", encryption="wpa2"}) |