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 7809d01..8f1d0c2 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)