]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/batman-adv/bat_iv_ogm.c
batman-adv: adapt bonding to use the new API functions
[karo-tx-linux.git] / net / batman-adv / bat_iv_ogm.c
index 4376fe75eeec5bb7d805f6ffde2d67938f3d1b02..7cdc3943103a31118ed12b3c8ada215b08516edd 100644 (file)
@@ -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