From: Jo-Philipp Wich Date: Mon, 8 Jan 2018 09:31:03 +0000 (+0100) Subject: luci-mod-admin-full: allow setting DSL SNR offset for VDSL X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6d349c5f7065f68d6d1d4d636c658d1f00c8b6e0;p=project%2Fluci.git luci-mod-admin-full: allow setting DSL SNR offset for VDSL Signed-off-by: Jo-Philipp Wich (backported from commit 08b40acc4e63b203ea4e3577f6e853f20bdfc864) --- 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 8cbca1f8c8..348379ac3c 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 @@ -47,7 +47,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