lantiq: remove DSL_ChipSetHWVersion from status information
authorMartin Schiller <ms@dev.tdt.de>
Fri, 22 Dec 2017 07:42:18 +0000 (08:42 +0100)
committerMathias Kresin <dev@kresin.me>
Sat, 23 Dec 2017 14:35:52 +0000 (15:35 +0100)
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>
target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh

index 47f5b738148a8e01a3ac54a5c0880602f8f4d9c2..a76fec94edeb14a1764168001b78ed838a5696e3 100755 (executable)
@@ -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