qos-scripts: stop overriding tx queue length

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48445
This commit is contained in:
Felix Fietkau 2016-01-21 22:26:15 +00:00
parent d0077103b7
commit b1f1b528a1

View file

@ -321,7 +321,7 @@ start_interface() {
append cstr "$classnr:$prio:$avgrate:$pktsize:$pktdelay:$maxrate:$qdisc:$filter" "$N"
done
append ${prefix}q "$(tcrules)" "$N"
export dev_${dir}="ifconfig $dev up txqueuelen 5 >&- 2>&-
export dev_${dir}="ifconfig $dev up >&- 2>&-
tc qdisc del dev $dev root >&- 2>&-
tc qdisc add dev $dev root handle 1: hfsc default ${class_default}0
tc class add dev $dev parent 1: classid 1:1 hfsc sc rate ${rate}kbit ul rate ${rate}kbit"