policy: update roam-state after hard-kicks
authorDavid Bauer <mail@david-bauer.net>
Tue, 22 Feb 2022 22:13:33 +0000 (23:13 +0100)
committerDavid Bauer <mail@david-bauer.net>
Fri, 18 Mar 2022 20:35:50 +0000 (21:35 +0100)
This prevents the roam-sm being triggered for clients which will be
deassociated in the first place.

Signed-off-by: David Bauer <mail@david-bauer.net>
policy.c

index 3d07cedc587dee22f53a33a6ab57b46323b16995..1481dd51d31e87c920c8aa09881259e3a98986f2 100644 (file)
--- a/policy.c
+++ b/policy.c
@@ -556,7 +556,7 @@ usteer_local_node_kick(struct usteer_local_node *ln)
                .node_local = &ln->node,
        };
 
-       usteer_local_node_roam_check(ln, &ev);
        usteer_local_node_snr_kick(ln);
        usteer_local_node_load_kick(ln);
+       usteer_local_node_roam_check(ln, &ev);
 }