From 002880c3fa2d40f0a18866a442cd29b4911f8cb9 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 18 Nov 2021 11:09:11 +0100 Subject: [PATCH] ratelimit: increase the wait timeout The timeout of 75s was a little to shart and would sometimes cause 5G interfaces to not enable ratelimit correctly. Increasing the timeout to 120s makes the flow more reliable. Fixes: WIFI-5701 Signed-off-by: John Crispin --- feeds/ucentral/ratelimit/files/usr/bin/ratelimit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/ucentral/ratelimit/files/usr/bin/ratelimit b/feeds/ucentral/ratelimit/files/usr/bin/ratelimit index 7497fdc86..3e7f6c2b8 100755 --- a/feeds/ucentral/ratelimit/files/usr/bin/ratelimit +++ b/feeds/ucentral/ratelimit/files/usr/bin/ratelimit @@ -151,7 +151,7 @@ addiface() { waitiface() { local iface=$1 - ubus -t 75 wait_for hostapd.$1 + ubus -t 120 wait_for hostapd.$1 [ $? -eq 0 ] || exit 0