ltq-vdsl-app: mask out ADSL bits when VDSL is requested
[openwrt/openwrt.git] / package / network / config / ltq-vdsl-app / files / dsl_control
index 1d4129f..bd5f0b8 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