From d7a7f147fa067e7f61b52120a3faf70cc37c836c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 12 Apr 2021 12:10:17 +0200 Subject: [PATCH] policy: always accept auth requests Signed-off-by: Felix Fietkau --- policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy.c b/policy.c index 6f75f69..c528bfa 100644 --- a/policy.c +++ b/policy.c @@ -140,7 +140,7 @@ usteer_check_request(struct sta_info *si, enum usteer_event_type type) struct sta_info *si_new; int min_signal; - if (type == EVENT_TYPE_ASSOC) + if (type == EVENT_TYPE_AUTH) return true; if (si->stats[type].blocked_cur >= config.max_retry_band) { -- 2.30.2