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>
This commit is contained in:
Martin Schiller 2017-08-03 09:50:03 +02:00 committed by Mathias Kresin
parent c6504327d1
commit f6254a215e

View 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