luci-0.10: merge r8190
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 24 Jan 2012 21:01:16 +0000 (21:01 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 24 Jan 2012 21:01:16 +0000 (21:01 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index fdbaae4792ef836ed41202deb455994f4339b5ab..b007c86661eb2f20121fa3c32b0cbc5c8bcfc0f1 100644 (file)
@@ -869,6 +869,12 @@ if hwtype == "atheros" or hwtype == "mac80211" or hwtype == "prism2" then
        cacert:depends({mode="sta-wds", encryption="wpa"})
        cacert:depends({mode="sta-wds", encryption="wpa2"})
 
+       clientcert = s:taboption("encryption", FileUpload, "client_cert", translate("Path to Client-Certificate"))
+       clientcert:depends({mode="sta", encryption="wpa"})
+       clientcert:depends({mode="sta", encryption="wpa2"})
+       clientcert:depends({mode="sta-wds", encryption="wpa"})
+       clientcert:depends({mode="sta-wds", encryption="wpa2"})
+
        privkey = s:taboption("encryption", FileUpload, "priv_key", translate("Path to Private Key"))
        privkey:depends({mode="sta", eap_type="tls", encryption="wpa2"})
        privkey:depends({mode="sta", eap_type="tls", encryption="wpa"})