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 }