summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.h
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@open-mesh.com>2013-09-02 12:15:06 +0200
committerAntonio Quartulli <antonio@meshcoding.com>2013-10-23 15:33:12 +0200
commit6680a1249f76c28e19fc24b0c85f671b019c8bc7 (patch)
tree7bd955c882eeb7c3f33760d162c32544d17b58c4 /net/batman-adv/routing.h
parentbatman-adv: add bat_neigh_is_equiv_or_better API function (diff)
downloadlinux-6680a1249f76c28e19fc24b0c85f671b019c8bc7.tar.xz
linux-6680a1249f76c28e19fc24b0c85f671b019c8bc7.zip
batman-adv: adapt bonding to use the new API functions
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/routing.h')
-rw-r--r--net/batman-adv/routing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/batman-adv/routing.h b/net/batman-adv/routing.h
index 55d637a90621..19544ddb81b5 100644
--- a/net/batman-adv/routing.h
+++ b/net/batman-adv/routing.h
@@ -48,7 +48,8 @@ batadv_find_router(struct batadv_priv *bat_priv,
const struct batadv_hard_iface *recv_if);
void batadv_bonding_candidate_del(struct batadv_orig_node *orig_node,
struct batadv_neigh_node *neigh_node);
-void batadv_bonding_candidate_add(struct batadv_orig_node *orig_node,
+void batadv_bonding_candidate_add(struct batadv_priv *bat_priv,
+ struct batadv_orig_node *orig_node,
struct batadv_neigh_node *neigh_node);
void batadv_bonding_save_primary(const struct batadv_orig_node *orig_node,
struct batadv_orig_node *orig_neigh_node,