ubus: skip current node for transition candidate list
Don't add the node the client is forced to leave as a potential transition candidate. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
2
ubus.c
2
ubus.c
@@ -518,6 +518,8 @@ usteer_ubus_disassoc_add_neighbors(struct sta_info *si)
|
|||||||
for_each_local_node(node) {
|
for_each_local_node(node) {
|
||||||
if (i >= config.max_neighbor_reports)
|
if (i >= config.max_neighbor_reports)
|
||||||
break;
|
break;
|
||||||
|
if (si->node == node)
|
||||||
|
continue;
|
||||||
if (usteer_add_nr_entry(si->node, node))
|
if (usteer_add_nr_entry(si->node, node))
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user