aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/batman-adv/unicast.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/batman-adv/unicast.c')
-rw-r--r--drivers/staging/batman-adv/unicast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/batman-adv/unicast.c b/drivers/staging/batman-adv/unicast.c
index 0dac50d69c0..0459413ff67 100644
--- a/drivers/staging/batman-adv/unicast.c
+++ b/drivers/staging/batman-adv/unicast.c
@@ -224,7 +224,7 @@ int unicast_send_skb(struct sk_buff *skb, struct bat_priv *bat_priv)
if (!orig_node)
orig_node = transtable_search(bat_priv, ethhdr->h_dest);
- router = find_router(orig_node, NULL);
+ router = find_router(bat_priv, orig_node, NULL);
if (!router)
goto unlock;