summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bat_iv_ogm.c
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/bat_iv_ogm.c
parentc43c981e50f47bdd0f1eb400dc30ff13472c7be6 (diff)
downloadop-kernel-dev-6680a1249f76c28e19fc24b0c85f671b019c8bc7.zip
op-kernel-dev-6680a1249f76c28e19fc24b0c85f671b019c8bc7.tar.gz
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/bat_iv_ogm.c')
-rw-r--r--net/batman-adv/bat_iv_ogm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c
index 4376fe7..7cdc394 100644
--- a/net/batman-adv/bat_iv_ogm.c
+++ b/net/batman-adv/bat_iv_ogm.c
@@ -853,7 +853,7 @@ batadv_iv_ogm_orig_update(struct batadv_priv *bat_priv,
neigh_node->last_ttl = batadv_ogm_packet->header.ttl;
}
- batadv_bonding_candidate_add(orig_node, neigh_node);
+ batadv_bonding_candidate_add(bat_priv, orig_node, neigh_node);
/* if this neighbor already is our next hop there is nothing
* to change
OpenPOWER on IntegriCloud