node: move roam-events to dedicated struct
[project/usteer.git] / local_node.c
index 3a6b6314e02b2c4d35f0d807a8a08f0247f90d24..613dac31e4188d8a9a50e73bc668adb4bc90c3db 100644 (file)
@@ -163,7 +163,7 @@ usteer_local_node_assoc_update(struct sta_info *si, struct blob_attr *data)
                                        continue;
 
                                if (current_time - remote_si->last_connected < config.roam_process_timeout) {
-                                       rn->node.roam_source++;
+                                       rn->node.roam_events.source++;
                                        /* Don't abort looking for roam sources here.
                                         * The client might have roamed via another node
                                         * within the roam-timeout.