aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/translation-table.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-04-23 04:32:55 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-06-18 12:01:00 -0400
commit08ad76ecc9f7f02cbe6ccbaa4abc9e9f193ed0e4 (patch)
tree517886c05b36b12290da49e94c5a4fe99c236532 /net/batman-adv/translation-table.c
parentd8cb548616524e10d36b4241b03893a11655ec5d (diff)
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>
Diffstat (limited to 'net/batman-adv/translation-table.c')
-rw-r--r--net/batman-adv/translation-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index ca53542e1e8e..f9675b7f5f99 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -319,7 +319,7 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
319 } 319 }
320 spin_unlock_bh(&bat_priv->tt_buff_lock); 320 spin_unlock_bh(&bat_priv->tt_buff_lock);
321 321
322 return tot_changes; 322 return count;
323} 323}
324 324
325int tt_local_seq_print_text(struct seq_file *seq, void *offset) 325int tt_local_seq_print_text(struct seq_file *seq, void *offset)