Commit 08ad76ec authored by Marek Lindner's avatar Marek Lindner Committed by Antonio Quartulli

batman-adv: return added entries instead of number of possibly added entries

Signed-off-by: default avatarMarek Lindner <lindner_marek@yahoo.de>
Acked-by: default avatarAntonio Quartulli <ordex@autistici.org>
Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
parent d8cb5486
...@@ -319,7 +319,7 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv, ...@@ -319,7 +319,7 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
} }
spin_unlock_bh(&bat_priv->tt_buff_lock); spin_unlock_bh(&bat_priv->tt_buff_lock);
return tot_changes; return count;
} }
int tt_local_seq_print_text(struct seq_file *seq, void *offset) int tt_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