summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/originator.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2011-07-30 12:04:12 +0200
committerMarek Lindner <lindner_marek@yahoo.de>2011-09-08 17:39:06 +0200
commitfc9572756418e13e0bffaf2d58f678b907602507 (patch)
tree373a9b5631dbaa2bc8fc41c75d094a7f0bb157e5 /net/batman-adv/originator.c
parentb6da4bf5d7951aba4f86d65546474c4e718f650f (diff)
downloadlinux-stable-fc9572756418e13e0bffaf2d58f678b907602507.tar.gz
linux-stable-fc9572756418e13e0bffaf2d58f678b907602507.tar.bz2
linux-stable-fc9572756418e13e0bffaf2d58f678b907602507.zip
batman-adv: agglomerate all batman iv ogm processing functions in a single file
In preparation of the upcoming improved routing algorithm the code based has to be re-organized to allow choosing the routing algorithm at compile time. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/originator.c')
-rw-r--r--net/batman-adv/originator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index d448018e514f..cd7d2566ff5f 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -336,8 +336,7 @@ static bool purge_orig_node(struct bat_priv *bat_priv,
} else {
if (purge_orig_neighbors(bat_priv, orig_node,
&best_neigh_node)) {
- update_routes(bat_priv, orig_node,
- best_neigh_node);
+ update_route(bat_priv, orig_node, best_neigh_node);
}
}