[OpenWrt-Devel] [PATCH 2/3] lantiq-dsl: bugfix latency values swapped for lucistat

Florian Eckert eckert.florian at googlemail.com
Thu Apr 7 05:08:26 EDT 2016


From: Florian Eckert <Eckert.Florian at googlemail.com>

swapped wrong latency output

Signed-off-by: Florian Eckert <Eckert.Florian at googlemail.com>
---
 target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 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 adf245a..8c6482f 100755
--- a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
+++ b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
@@ -430,8 +430,8 @@ latency_delay() {
 	sidd=$(scale_latency $idd)
 
 	if [ "$action" = "lucistat" ]; then
-		echo "dsl.latency_num_down=\"$sidu\""
-		echo "dsl.latency_num_up=\"$sidd\""
+		echo "dsl.latency_num_down=\"$sidd\""
+		echo "dsl.latency_num_up=\"$sidu\""
 		echo "dsl.latency_s_down=\"$idd_s\""
 		echo "dsl.latency_s_up=\"$idu_s\""
 	else
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list