batman-adv: Return hna count on local buffer fill
authorSven Eckelmann <sven@narfation.org>
Mon, 20 Dec 2010 18:32:03 +0000 (10:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2010 18:32:03 +0000 (10:32 -0800)
commit53320fe3bb1b1eef1aaff8dd47aae530ebeeb1e5
treef9ac85a6dcf4ec0ee709d08b5f56f6e9c4320edf
parent58231186c4532821cb815a3a3248ca02ce5f6f0d
batman-adv: Return hna count on local buffer fill

hna_local_fill_buffer must return the number of added hna entries and
not the last checked hash bucket.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/batman-adv/translation-table.c