diff mbox

[OpenWrt-Devel,v2,3/5] ltq-vdsl-app: let the driver/app probe the xtse on missing annex

Message ID 1451509166-5157-4-git-send-email-openwrt@kresin.me
State Accepted
Headers show

Commit Message

Mathias Kresin Dec. 30, 2015, 8:59 p.m. UTC
r47933 revealed that the driver/app in combination with the chosen
firmware does a good job in selecting a working xtse.

Use this probing mode if no annex is specified.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

---

Since a predefined annex isn't required, what about using 'auto' when
creating the initial config?

Any opinions?

 package/network/config/ltq-vdsl-app/files/dsl_control | 3 ---
 1 file changed, 3 deletions(-)
diff mbox

Patch

diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control
index 22d775c..f6275a0 100644
--- a/package/network/config/ltq-vdsl-app/files/dsl_control
+++ b/package/network/config/ltq-vdsl-app/files/dsl_control
@@ -34,8 +34,6 @@  xtse_adsl_b="10_00_10_00_00_04_00_07"
 # G.993.2 Annex A/B/C
 xtse_adsl_j="10_00_10_40_00_04_01_07"
 
-xtse_vdsl="00_00_00_00_00_00_00_07"
-
 service_triggers() {
 	procd_add_reload_trigger network
 }
@@ -67,7 +65,6 @@  start_service() {
 	esac
 
 	eval "xtse=\"\${xtse_xdsl_$annex}\""
-	[ -z "${xtse}" ] && xtse=$xtse_vdsl
 
 	[ -z "${firmware}" ] && firmware=/lib/firmware/vdsl.bin
 	[ -f "${firmware}" ] || {