ltq-vdsl-app: mask out ADSL bits when VDSL is requested
authorMartin Schiller <ms@dev.tdt.de>
Thu, 3 Aug 2017 07:50:03 +0000 (09:50 +0200)
committerMathias Kresin <dev@kresin.me>
Sun, 6 Aug 2017 07:22:03 +0000 (09:22 +0200)
If the line_mode is fixed configured to vdsl, than only G.993 VDSL
should be used.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
package/network/config/ltq-vdsl-app/files/dsl_control

index 1d4129fc7d583a04a59c53841bff26c1eedd9c62..bd5f0b8fa5d3ed56efc6c1e1bcfaf3ed43bc5ac1 100644 (file)
@@ -211,11 +211,14 @@ start_service() {
        adsl)
                mode=1
 
-               # mask out VDSL bits when ATM is requested
+               # mask out VDSL bits when ADSL is requested
                xtse="${xtse%_*}_00"
                ;;
        *)
                mode=2
+
+               # mask out ADSL bits when VDSL is requested
+               xtse="00_00_00_00_00_00_00_${xtse##*_}"
                ;;
        esac