From d107e6d2aee221fbea0235c87808afc9c3093b2c Mon Sep 17 00:00:00 2001 From: rickk Date: Fri, 17 Feb 2023 20:35:48 +0100 Subject: [PATCH] remove unnecessary wait from script --- files/usr/lib/sqm/nss-rk.qos | 7 +------ openwrt/sqm-scripts-nss/Makefile | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/files/usr/lib/sqm/nss-rk.qos b/files/usr/lib/sqm/nss-rk.qos index 1e14209..811ae61 100644 --- a/files/usr/lib/sqm/nss-rk.qos +++ b/files/usr/lib/sqm/nss-rk.qos @@ -1,6 +1,6 @@ ################################################################################ # nss-rk.qos (HW Accelerated Simple Traffic Shaper) -# version 20230217b +# version 20230217c # # sqm script to use the NSS accelerated nssfq_codel qdisc # @@ -122,11 +122,6 @@ ingress() { sqm_debug "Adding the ingress qdisc.." $TC qdisc add dev $DEV parent 1: handle 10: nssfq_codel `get_limit ${ILIMIT}` `get_flows ${IFLOWS}` `get_quantum ${IQUANTUM}` `get_target ${ITARGET} ${DOWNLINK}` ${IQDISC_OPTS} set_default - # I had a few crashes when I brought up the link immediately after - # not sure what the problem was but this seems to avoid it - sqm_debug "Sleeping before enabling the $DEV interface... " - sleep 2 - sqm_debug "Enabling the $DEV ifb interface.." $IP link set up $DEV diff --git a/openwrt/sqm-scripts-nss/Makefile b/openwrt/sqm-scripts-nss/Makefile index 3bcf18a..31473b0 100644 --- a/openwrt/sqm-scripts-nss/Makefile +++ b/openwrt/sqm-scripts-nss/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sqm-scripts-nss -PKG_VERSION:=20230217b +PKG_VERSION:=20230217c PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk