diff options
Diffstat (limited to 'net/batman-adv/unicast.c')
-rw-r--r-- | net/batman-adv/unicast.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/batman-adv/unicast.c b/net/batman-adv/unicast.c index 52179c8ae9bd..5e699db700b3 100644 --- a/net/batman-adv/unicast.c +++ b/net/batman-adv/unicast.c | |||
@@ -301,9 +301,8 @@ int unicast_send_skb(struct sk_buff *skb, struct bat_priv *bat_priv) | |||
301 | 301 | ||
302 | /* check for tt host - increases orig_node refcount. | 302 | /* check for tt host - increases orig_node refcount. |
303 | * returns NULL in case of AP isolation */ | 303 | * returns NULL in case of AP isolation */ |
304 | orig_node = transtable_search(bat_priv, ethhdr->h_source, | 304 | orig_node = batadv_transtable_search(bat_priv, ethhdr->h_source, |
305 | ethhdr->h_dest); | 305 | ethhdr->h_dest); |
306 | |||
307 | find_router: | 306 | find_router: |
308 | /** | 307 | /** |
309 | * find_router(): | 308 | * find_router(): |
@@ -335,7 +334,7 @@ find_router: | |||
335 | * try to reroute it because the ttvn contained in the header is less | 334 | * try to reroute it because the ttvn contained in the header is less |
336 | * than the current one | 335 | * than the current one |
337 | */ | 336 | */ |
338 | if (tt_global_client_is_roaming(bat_priv, ethhdr->h_dest)) | 337 | if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest)) |
339 | unicast_packet->ttvn = unicast_packet->ttvn - 1; | 338 | unicast_packet->ttvn = unicast_packet->ttvn - 1; |
340 | 339 | ||
341 | if (atomic_read(&bat_priv->fragmentation) && | 340 | if (atomic_read(&bat_priv->fragmentation) && |