diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-09-06 10:27:10 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-09-06 10:27:10 +0000 |
commit | ff9f4dbda8fb6a86b5b72d8c29688f85194b685c (patch) | |
tree | e99408dea6247843ddf1f4d66751da4e9c11e51b | |
parent | 8c2e4407e82a04540a0af20908163c14f29ebe68 (diff) |
modules/admin-full, modules/admin-mini: fix psk-mixed dependency (#81)
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 2 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/model/cbi/mini/wifi.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua index bf7f5b2f6..2de3486f9 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -460,7 +460,7 @@ key:depends("encryption", "wep") key:depends("encryption", "psk") key:depends("encryption", "psk2") key:depends("encryption", "psk+psk2") -key:depends("encryption", "mixed") +key:depends("encryption", "psk-mixed") key:depends({mode="ap", encryption="wpa"}) key:depends({mode="ap", encryption="wpa2"}) key.rmempty = true diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua index d59ede368..765011a1f 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua @@ -258,7 +258,7 @@ key:depends("encryption", "wep") key:depends("encryption", "psk") key:depends("encryption", "psk2") key:depends("encryption", "psk+psk2") -key:depends("encryption", "mixed") +key:depends("encryption", "psk-mixed") key:depends({mode="ap", encryption="wpa"}) key:depends({mode="ap", encryption="wpa2"}) key.rmempty = true |