aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2017-08-03 09:50:03 +0200
committerMathias Kresin <dev@kresin.me>2017-08-06 09:22:03 +0200
commitf6254a215e25f624163a567201b72b2ef167b55d (patch)
tree8ad9454a63d03d6cffa02798000cada21e7ddb7c /package/network
parentc6504327d1d7a7be65dae781edc6283454601357 (diff)
downloadupstream-f6254a215e25f624163a567201b72b2ef167b55d.tar.gz
upstream-f6254a215e25f624163a567201b72b2ef167b55d.tar.bz2
upstream-f6254a215e25f624163a567201b72b2ef167b55d.zip
ltq-vdsl-app: mask out ADSL bits when VDSL is requested
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>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/config/ltq-vdsl-app/files/dsl_control5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control
index 1d4129fc7d..bd5f0b8fa5 100644
--- a/package/network/config/ltq-vdsl-app/files/dsl_control
+++ b/package/network/config/ltq-vdsl-app/files/dsl_control
@@ -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