diff options
author | Martin Schiller <ms@dev.tdt.de> | 2017-12-22 08:42:18 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-12-23 15:35:52 +0100 |
commit | 94952636e74efcc8ba8d63e69709a1b629aaf8e4 (patch) | |
tree | 7cd5198010f6d5c98eacd1758e1d25debc6aebbf | |
parent | c7776d4c552e1d2b10d111191376190c112a67e5 (diff) | |
download | mtk-20170518-94952636e74efcc8ba8d63e69709a1b629aaf8e4.zip mtk-20170518-94952636e74efcc8ba8d63e69709a1b629aaf8e4.tar.gz mtk-20170518-94952636e74efcc8ba8d63e69709a1b629aaf8e4.tar.bz2 |
lantiq: remove DSL_ChipSetHWVersion from status information
The value DSL_ChipSetHWVersion is fetched from the dsl frontend
via the dsl_control service, but not really provided by the dsl
frontend firmware and for now always "UNKNOWN".
The lantiq support told us that this information wouldn't be
provided in the foreseeable future, so let's remove this
useless "UNKNOWN" information.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
-rwxr-xr-x | target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh index 47f5b73..a76fec9 100755 --- a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh +++ b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh @@ -166,20 +166,18 @@ data_rates() { chipset() { local vig local cs - local csv vig=$(dsl_cmd vig) cs=$(dsl_val "$vig" DSL_ChipSetType) - csv=$(dsl_val "$vig" DSL_ChipSetHWVersion) csfw=$(dsl_val "$vig" DSL_ChipSetFWVersion) csapi=$(dsl_val "$vig" DSL_DriverVersionApi) if [ "$action" = "lucistat" ]; then - echo "dsl.chipset=\"${cs} ${csv}\"" + echo "dsl.chipset=\"${cs}\"" echo "dsl.firmware_version=\"${csfw}\"" echo "dsl.api_version=\"${csapi}\"" else - echo "Chipset: ${cs} ${csv}" + echo "Chipset: ${cs}" echo "Firmware Version: ${csfw}" echo "API Version: ${csapi}" fi |