From 90f13664e9c587df5fc1ac20fff357700704aeb5 Mon Sep 17 00:00:00 2001 From: Markus Gothe Date: Wed, 17 Sep 2025 18:03:31 +0200 Subject: [PATCH] qosmng: airoha: Don't flush HW NAT unless necessary. --- qosmngr/files/airoha/usr/sbin/qos-uplink-bandwidth | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qosmngr/files/airoha/usr/sbin/qos-uplink-bandwidth b/qosmngr/files/airoha/usr/sbin/qos-uplink-bandwidth index 81ee2d173..2f25c0234 100755 --- a/qosmngr/files/airoha/usr/sbin/qos-uplink-bandwidth +++ b/qosmngr/files/airoha/usr/sbin/qos-uplink-bandwidth @@ -21,6 +21,6 @@ if [ $((LINKSPEED)) -ne $((PREV_LINKSPEED)) -a $((LINKSPEED)) -ne 0 ]; then fi mkdir -p "/tmp/qos" echo ${LINKSPEED} > ${LINKSPEED_FILE} -fi -hw_nat -! > /dev/null 2>&1 + hw_nat -! > /dev/null 2>&1 +fi