diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-06-03 16:19:19 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-07-01 16:47:18 -0400 |
commit | e9a4f295ebe06b00d6af5597c0cea78c315c2ebc (patch) | |
tree | bf1866658a3c111f714173a02a14c253b4b5e1c0 /net/batman-adv/routing.c | |
parent | cd646ab1e2edde9faeff52bbc1b40e58a5e381fc (diff) |
batman-adv: Prefix hard-interface enum with BATADV_
Reported-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r-- | net/batman-adv/routing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index b3fd61c90f32..4d632215f92f 100644 --- a/net/batman-adv/routing.c +++ b/net/batman-adv/routing.c | |||
@@ -792,7 +792,7 @@ struct neigh_node *batadv_find_router(struct bat_priv *bat_priv, | |||
792 | router = batadv_find_ifalter_router(primary_orig_node, recv_if); | 792 | router = batadv_find_ifalter_router(primary_orig_node, recv_if); |
793 | 793 | ||
794 | return_router: | 794 | return_router: |
795 | if (router && router->if_incoming->if_status != IF_ACTIVE) | 795 | if (router && router->if_incoming->if_status != BATADV_IF_ACTIVE) |
796 | goto err_unlock; | 796 | goto err_unlock; |
797 | 797 | ||
798 | rcu_read_unlock(); | 798 | rcu_read_unlock(); |