[source] ltq-vdsl-app: mask out ADSL bits when VDSL is requested

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 7 01:50:31 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/f6254a215e25f624163a567201b72b2ef167b55d

commit f6254a215e25f624163a567201b72b2ef167b55d
Author: Martin Schiller <ms at dev.tdt.de>
AuthorDate: Thu Aug 3 09:50:03 2017 +0200

    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 at dev.tdt.de>
---
 package/network/config/ltq-vdsl-app/files/dsl_control | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control
index 1d4129f..bd5f0b8 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
 



More information about the lede-commits mailing list