batman-adv: Prefix main defines with BATADV_
Reported-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:

committed by
Antonio Quartulli

parent
edbf7ff723
commit
42d0b044b7
@@ -548,7 +548,7 @@ bool batadv_is_wifi_iface(int ifindex)
|
||||
struct net_device *net_device = NULL;
|
||||
bool ret = false;
|
||||
|
||||
if (ifindex == NULL_IFINDEX)
|
||||
if (ifindex == BATADV_NULL_IFINDEX)
|
||||
goto out;
|
||||
|
||||
net_device = dev_get_by_index(&init_net, ifindex);
|
||||
|
Reference in New Issue
Block a user