The following commit has been merged in the master branch: commit a726fdad131019166a46bace12da4653c1a592b3 Author: Antonio Quartulli ordex@autistici.org Date: Sun May 29 00:26:17 2011 +0200
batman-adv: correct !x & y in !(x & y)
This error was introduced with: 4dea0274b8edeab50bfeb6685ef33362e3ec9299
Signed-off-by: Antonio Quartulli ordex@autistici.org Acked-by: Sven Eckelmann sven@narfation.org
diff --git a/translation-table.c b/translation-table.c index 464569e..f0d8857 100644 --- a/translation-table.c +++ b/translation-table.c @@ -724,7 +724,7 @@ static void tt_global_roam_purge(struct bat_priv *bat_priv) spin_lock_bh(list_lock); hlist_for_each_entry_safe(tt_global_entry, node, node_tmp, head, hash_entry) { - if (!tt_global_entry->flags & TT_GLOBAL_ROAM) + if (!(tt_global_entry->flags & TT_GLOBAL_ROAM)) continue; if (!is_out_of_time(tt_global_entry->roam_at, TT_GLOBAL_ROAM_TIMEOUT * 1000))