batman-adv: Prefix hard-interface enum with BATADV_
Reported-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
cd646ab1e2
commit
e9a4f295eb
13 changed files with 68 additions and 63 deletions
|
|
@ -792,7 +792,7 @@ struct neigh_node *batadv_find_router(struct bat_priv *bat_priv,
|
|||
router = batadv_find_ifalter_router(primary_orig_node, recv_if);
|
||||
|
||||
return_router:
|
||||
if (router && router->if_incoming->if_status != IF_ACTIVE)
|
||||
if (router && router->if_incoming->if_status != BATADV_IF_ACTIVE)
|
||||
goto err_unlock;
|
||||
|
||||
rcu_read_unlock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue