- policy: Sometimes hostapd does not return an rrm nr which breaks roaming with neighbors. This is shown as an error in the log.
Signed-off-by: Nils Hendrik Rottgardt <n.rottga...@gmail.com> --- policy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy.c b/policy.c index f3150e9..933c529 100644 --- a/policy.c +++ b/policy.c @@ -373,6 +373,9 @@ usteer_roam_trigger_sm(struct usteer_local_node *ln, struct sta_info *si) break; } + if (!candidate->node->rrm_nr) + MSG(FATAL, "Candiates node rrm nr not returned from hostapd. Neighbor list empty!"); + si->roam_transition_request_validity_end = current_time + 10000; validity_period = 10000 / usteer_local_node_get_beacon_interval(ln); /* ~ 10 seconds */ if (si->sta->aggressive) { -- 2.39.5 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel