Home
last modified time | relevance | path

Searched refs:old_ifinfo (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/net/batman-adv/
Dgateway_client.c759 struct batadv_neigh_ifinfo *curr_ifinfo, *old_ifinfo; in batadv_gw_out_of_range() local
822 old_ifinfo = batadv_neigh_ifinfo_get(neigh_old, BATADV_IF_DEFAULT); in batadv_gw_out_of_range()
823 if (!old_ifinfo) in batadv_gw_out_of_range()
826 if ((curr_tq_avg - old_ifinfo->bat_iv.tq_avg) > BATADV_GW_THRESHOLD) in batadv_gw_out_of_range()
828 batadv_neigh_ifinfo_put(old_ifinfo); in batadv_gw_out_of_range()