batman-adv: always run purge_orig_neighbors
authorSimon Wunderlich <simon@open-mesh.com>
Wed, 26 Mar 2014 14:46:23 +0000 (15:46 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 10 May 2014 08:58:58 +0000 (10:58 +0200)
commit7b955a9fc164487d7c51acb9787f6d1b01b35ef6
tree5f1e61eb56d134aac2c88b3bb363e3d2fc3ad0fa
parent000c8dff97311357535d64539e58990526e4de70
batman-adv: always run purge_orig_neighbors

The current code will not execute batadv_purge_orig_neighbors() when an
orig_ifinfo has already been purged. However we need to run it in any
case. Fix that.

This is a regression introduced by
7351a4822d42827ba0110677c0cbad88a3d52585
("batman-adv: split out router from orig_node")

Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/originator.c