policy: always accept assoc requests by default

Only steer using probe responses to avoid connection issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2021-04-12 12:14:05 +02:00
parent d7a7f147fa
commit 47794506ce
4 changed files with 7 additions and 0 deletions

View File

@@ -143,6 +143,9 @@ usteer_check_request(struct sta_info *si, enum usteer_event_type type)
if (type == EVENT_TYPE_AUTH)
return true;
if (type == EVENT_TYPE_ASSOC && !config.assoc_steering)
return true;
if (si->stats[type].blocked_cur >= config.max_retry_band) {
MSG_T_STA("max_retry_band", si->sta->addr,
"max retry (%u) exceeded\n", config.max_retry_band);