From 0dae8c378624db4ac0e7767ff567844cba09c67d Mon Sep 17 00:00:00 2001 From: Marina Maslova Date: Wed, 21 Dec 2022 23:31:02 +0300 Subject: [PATCH] qos: default uplink limit should be 0 (unlimited) --- qosmngr/files/airoha/lib/qos/airoha.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qosmngr/files/airoha/lib/qos/airoha.sh b/qosmngr/files/airoha/lib/qos/airoha.sh index f71c56d04..a8a8873f3 100755 --- a/qosmngr/files/airoha/lib/qos/airoha.sh +++ b/qosmngr/files/airoha/lib/qos/airoha.sh @@ -182,9 +182,9 @@ hw_commit_all() { if [ "${glob_alg}" != "" ] ; then /userfs/bin/qosrule discpline $(hw_sc_alg2str ${glob_alg}) ${weight_list} \ - ${shape_rate:+uplink-bandwidth} $shape_rate \ + uplink-bandwidth ${shape_rate:-0} \ queuemask $queue_mask else - /userfs/bin/qosrule discpline off + /userfs/bin/qosrule discpline Enable 0 fi }