summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/vis.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-06-03 22:19:19 +0200
committerAntonio Quartulli <ordex@autistici.org>2012-07-01 22:47:18 +0200
commite9a4f295ebe06b00d6af5597c0cea78c315c2ebc (patch)
treebf1866658a3c111f714173a02a14c253b4b5e1c0 /net/batman-adv/vis.c
parentcd646ab1e2edde9faeff52bbc1b40e58a5e381fc (diff)
downloadblackbird-op-linux-e9a4f295ebe06b00d6af5597c0cea78c315c2ebc.tar.gz
blackbird-op-linux-e9a4f295ebe06b00d6af5597c0cea78c315c2ebc.zip
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/vis.c')
-rw-r--r--net/batman-adv/vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/vis.c b/net/batman-adv/vis.c
index 74181696eef6..c920b4b8516b 100644
--- a/net/batman-adv/vis.c
+++ b/net/batman-adv/vis.c
@@ -599,7 +599,7 @@ static int batadv_generate_vis_packet(struct bat_priv *bat_priv)
if (!batadv_compare_eth(router->addr, orig_node->orig))
goto next;
- if (router->if_incoming->if_status != IF_ACTIVE)
+ if (router->if_incoming->if_status != BATADV_IF_ACTIVE)
goto next;
if (router->tq_avg < 1)
OpenPOWER on IntegriCloud