lantiq: bugfix uninitialized variables
authorJohn Crispin <john@openwrt.org>
Mon, 5 Oct 2015 10:27:55 +0000 (10:27 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 5 Oct 2015 10:27:55 +0000 (10:27 +0000)
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Reported-by: Sylwester Petela <sscapi@gmail.com>
SVN-Revision: 47127

target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh

index 7809d01dd819f1d7f83df23bac6d2ee2cf0ff57c..8f1d0c2fb9afb43dc9c1ca5dfe7b7c813dce1d81 100755 (executable)
@@ -524,6 +524,8 @@ line_data() {
        [ -z "$satnu" ] && satnu=0
        [ -z "$snrd" ] && snrd=0
        [ -z "$snru" ] && snru=0
+       [ -z "$actatpd" ] && actatpd=0
+       [ -z "$actatpu" ] && actatpu=0
 
        latnd=$(dbt $latnd)
        latnu=$(dbt $latnu)