The following commit has been merged in the next branch: commit 0e15fe7029743f2f3eb407bf5fa5867adb108096 Author: Sven Eckelmann sven@narfation.org Date: Sun Dec 19 20:22:09 2010 +0100
batman-adv: Return hna count on local buffer fill
hna_local_fill_buffer must return the number of added hna entries and not the last checked hash bucket.
Signed-off-by: Sven Eckelmann sven@narfation.org
diff --git a/translation-table.c b/translation-table.c index a19e16c..a633b5a 100644 --- a/translation-table.c +++ b/translation-table.c @@ -162,7 +162,7 @@ int hna_local_fill_buffer(struct bat_priv *bat_priv, atomic_set(&bat_priv->hna_local_changed, 0);
spin_unlock_bh(&bat_priv->hna_lhash_lock); - return i; + return count; }
int hna_local_seq_print_text(struct seq_file *seq, void *offset)