summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/model/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-01-08 10:31:03 +0100
committerJo-Philipp Wich <jo@mein.io>2018-01-08 10:31:03 +0100
commit08b40acc4e63b203ea4e3577f6e853f20bdfc864 (patch)
tree5f31852b76c4b9f6d39c709b51c1cd244cf60d4c /modules/luci-mod-admin-full/luasrc/model/cbi
parent6e1bd7e42d81574db7864c82a588a3b2d2056ec4 (diff)
luci-mod-admin-full: allow setting DSL SNR offset for VDSL
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/model/cbi')
-rw-r--r--modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
index 1cbd181919..57451181e1 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
+++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
@@ -56,7 +56,6 @@ if fs.access("/etc/init.d/dsl_control") then
line_mode:value("vdsl", translate("VDSL"))
ds_snr = dsl:option(ListValue, "ds_snr_offset", translate("Downstream SNR offset"))
- ds_snr:depends("line_mode", "adsl")
for i = -100, 100, 5 do
ds_snr:value(i, translatef("%.1f dB", i / 10))
end