ltq-vdsl-app: let the driver/app probe the xtse on missing annex

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>

SVN-Revision: 48052
master
John Crispin 9 years ago
parent 7816dffd03
commit 846124f536
  1. 3
      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 # G.993.2 Annex A/B/C
xtse_adsl_j="10_00_10_40_00_04_01_07" xtse_adsl_j="10_00_10_40_00_04_01_07"
xtse_vdsl="00_00_00_00_00_00_00_07"
service_triggers() { service_triggers() {
procd_add_reload_trigger network procd_add_reload_trigger network
} }
@ -67,7 +65,6 @@ start_service() {
esac esac
eval "xtse=\"\${xtse_xdsl_$annex}\"" eval "xtse=\"\${xtse_xdsl_$annex}\""
[ -z "${xtse}" ] && xtse=$xtse_vdsl
[ -z "${firmware}" ] && firmware=/lib/firmware/vdsl.bin [ -z "${firmware}" ] && firmware=/lib/firmware/vdsl.bin
[ -f "${firmware}" ] || { [ -f "${firmware}" ] || {

Loading…
Cancel
Save