aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-05 10:27:55 +0000
committerJohn Crispin <john@openwrt.org>2015-10-05 10:27:55 +0000
commitcea7c66ef873f1f5912aa2ea3305acf8ac61f6f4 (patch)
treeaa21cd4cdcd3cc14c49186cada61587070a00819 /target/linux/lantiq
parent7ce3e1fd3c50afca42c4746e3ecb08c9a080cca5 (diff)
downloadupstream-cea7c66ef873f1f5912aa2ea3305acf8ac61f6f4.tar.gz
upstream-cea7c66ef873f1f5912aa2ea3305acf8ac61f6f4.tar.bz2
upstream-cea7c66ef873f1f5912aa2ea3305acf8ac61f6f4.zip
lantiq: bugfix uninitialized variables
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Reported-by: Sylwester Petela <sscapi@gmail.com> SVN-Revision: 47127
Diffstat (limited to 'target/linux/lantiq')
-rwxr-xr-xtarget/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh2
1 files changed, 2 insertions, 0 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 7809d01dd8..8f1d0c2fb9 100755
--- a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
+++ b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
@@ -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)