batman-adv: Merge batadv_v_ogm_orig_update into batadv_v_ogm_route_update
authorSimon Wunderlich <simon@open-mesh.com>
Mon, 1 Feb 2016 14:21:38 +0000 (15:21 +0100)
committerAntonio Quartulli <a@unstable.cc>
Tue, 3 May 2016 18:22:03 +0000 (02:22 +0800)
commit86de37c1fb16d71402773a3da05abe6cc7346f94
tree7dc7044ef8346a83264862b6a3a4fe28688b75a5
parentefcc9d3069c982786f380bca8480a1aa2fd2721d
batman-adv: Merge batadv_v_ogm_orig_update into batadv_v_ogm_route_update

Since batadv_v_ogm_orig_update() was only called from one place and the
calling function became very short, merge these two functions together.

This should also reflect the protocol description of B.A.T.M.A.N. V
better.

Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/bat_v_ogm.c