X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fbatman-adv%2Fbat_iv_ogm.c;fp=net%2Fbatman-adv%2Fbat_iv_ogm.c;h=7cdc3943103a31118ed12b3c8ada215b08516edd;hb=6680a1249f76c28e19fc24b0c85f671b019c8bc7;hp=4376fe75eeec5bb7d805f6ffde2d67938f3d1b02;hpb=c43c981e50f47bdd0f1eb400dc30ff13472c7be6;p=karo-tx-linux.git diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c index 4376fe75eeec..7cdc3943103a 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