提交 08ad76ec 编写于 作者: M Marek Lindner 提交者: Antonio Quartulli

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

Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de>
Acked-by: NAntonio Quartulli <ordex@autistici.org>
Signed-off-by: NSven Eckelmann <sven@narfation.org>
上级 d8cb5486
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册