Searched refs:neigh_old (Results 1 – 1 of 1) sorted by relevance
640 struct neigh_node *neigh_curr = NULL, *neigh_old = NULL; in gw_out_of_range() local692 neigh_old = find_router(bat_priv, orig_dst_node, NULL); in gw_out_of_range()693 if (!neigh_old) in gw_out_of_range()696 if (curr_tq_avg - neigh_old->tq_avg > GW_THRESHOLD) in gw_out_of_range()704 if (neigh_old) in gw_out_of_range()705 neigh_node_free_ref(neigh_old); in gw_out_of_range()