From: Felix Fietkau Date: Mon, 12 Apr 2021 10:10:17 +0000 (+0200) Subject: policy: always accept auth requests X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=d7a7f147fa067e7f61b52120a3faf70cc37c836c;p=project%2Fusteer.git policy: always accept auth requests Signed-off-by: Felix Fietkau --- 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) {