batman-adv: make batadv_tt_save_orig_buffer() generic
authorAntonio Quartulli <antonio@open-mesh.com>
Tue, 28 May 2013 11:14:28 +0000 (13:14 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 12 Oct 2013 15:17:11 +0000 (17:17 +0200)
commite8cf234a4e7e278cb9721ac6071e0f9a3c95b978
tree921d6864047579e61a26dd5c462414cf5597ea98
parent298e6e685bbdacc781b64a94e0d215f78db5dc13
batman-adv: make batadv_tt_save_orig_buffer() generic

This is a simple batadv_tt_save_orig_buffer() refactoring
aiming to make it more generic and avoid useless casts.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/translation-table.c