From 08b40acc4e63b203ea4e3577f6e853f20bdfc864 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 --- .../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 1cbd18191..57451181e 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 -- 2.25.1