Skip to content

Commit

Permalink
batman-adv: return added entries instead of number of possibly added …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Marek Lindner authored and Antonio Quartulli committed Jun 18, 2012
1 parent d8cb548 commit 08ad76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/batman-adv/translation-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
}
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)
Expand Down

0 comments on commit 08ad76e

Please sign in to comment.