luci-mod-admin-full: allow setting DSL SNR offset for VDSL
authorJo-Philipp Wich <jo@mein.io>
Mon, 8 Jan 2018 09:31:03 +0000 (10:31 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 8 Jan 2018 09:31:03 +0000 (10:31 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua

index 1cbd181919de0b8bb69c1ed4592d658046824899..57451181e12539855c0e83be81689fabbdfb0378 100644 (file)
@@ -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