projects
/
project
/
usteer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e51ea7a
)
ubus: skip current node for transition candidate list
author
David Bauer
<mail@david-bauer.net>
Thu, 9 Dec 2021 22:13:39 +0000
(23:13 +0100)
committer
David Bauer
<mail@david-bauer.net>
Fri, 10 Dec 2021 16:30:45 +0000
(17:30 +0100)
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>
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index 768c9cf03b022bc4e2c7e74f135bf7d3b461bfdb..1a78bbfd76a78bd3993fa88eb2d1df70eecc278b 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-518,6
+518,8
@@
usteer_ubus_disassoc_add_neighbors(struct sta_info *si)
for_each_local_node(node) {
if (i >= config.max_neighbor_reports)
break;
+ if (si->node == node)
+ continue;
if (usteer_add_nr_entry(si->node, node))
i++;
}