|
@@ -1705,7 +1705,8 @@ static bool batadv_tt_global_add(struct batadv_priv *bat_priv,
|
|
|
ether_addr_copy(common->addr, tt_addr);
|
|
ether_addr_copy(common->addr, tt_addr);
|
|
|
common->vid = vid;
|
|
common->vid = vid;
|
|
|
|
|
|
|
|
- common->flags = flags;
|
|
|
|
|
|
|
+ common->flags = flags & (~BATADV_TT_SYNC_MASK);
|
|
|
|
|
+
|
|
|
tt_global_entry->roam_at = 0;
|
|
tt_global_entry->roam_at = 0;
|
|
|
/* node must store current time in case of roaming. This is
|
|
/* node must store current time in case of roaming. This is
|
|
|
* needed to purge this entry out on timeout (if nobody claims
|
|
* needed to purge this entry out on timeout (if nobody claims
|