summaryrefslogtreecommitdiff
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
parent7ce3e1fd3c50afca42c4746e3ecb08c9a080cca5 (diff)
downloadmtk-20170518-cea7c66ef873f1f5912aa2ea3305acf8ac61f6f4.zip
mtk-20170518-cea7c66ef873f1f5912aa2ea3305acf8ac61f6f4.tar.gz
mtk-20170518-cea7c66ef873f1f5912aa2ea3305acf8ac61f6f4.tar.bz2
lantiq: bugfix uninitialized variables
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Reported-by: Sylwester Petela <sscapi@gmail.com> SVN-Revision: 47127
-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 7809d01..8f1d0c2 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)