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>
Fri, 20 Jul 2018 07:31:23 +0000 (09:31 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 08b40acc4e63b203ea4e3577f6e853f20bdfc864)

modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua

index 8cbca1f8c8cc9cb3a0e090f95de7481d9c54efb3..348379ac3ca65870d76f089c96e3b6cf27cace9c 100644 (file)
@@ -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