batman-adv: return added entries instead of number of possibly added entries
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Acked-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
d8cb548616
commit
08ad76ecc9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue