Commit 53320fe3 authored by Sven Eckelmann's avatar Sven Eckelmann Committed by David S. Miller
Browse files

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: default avatarSven Eckelmann <>
Signed-off-by: default avatarDavid S. Miller <>
parent 58231186
......@@ -162,7 +162,7 @@ int hna_local_fill_buffer(struct bat_priv *bat_priv,
atomic_set(&bat_priv->hna_local_changed, 0);
return i;
return count;
int hna_local_seq_print_text(struct seq_file *seq, void *offset)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment