From 6d349c5f7065f68d6d1d4d636c658d1f00c8b6e0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 8 Jan 2018 10:31:03 +0100 Subject: [PATCH] luci-mod-admin-full: allow setting DSL SNR offset for VDSL Signed-off-by: Jo-Philipp Wich (backported from commit 08b40acc4e63b203ea4e3577f6e853f20bdfc864) --- .../luasrc/model/cbi/admin_network/network.lua | 1 - 1 file changed, 1 deletion(-) 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 8cbca1f8c..348379ac3 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 -- 2.25.1