diff options
Diffstat (limited to 'net/batman-adv/hard-interface.c')
-rw-r--r-- | net/batman-adv/hard-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c index 9b1cb23ec1f..e7eba9c32e7 100644 --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c | |||
@@ -548,7 +548,7 @@ bool batadv_is_wifi_iface(int ifindex) | |||
548 | struct net_device *net_device = NULL; | 548 | struct net_device *net_device = NULL; |
549 | bool ret = false; | 549 | bool ret = false; |
550 | 550 | ||
551 | if (ifindex == NULL_IFINDEX) | 551 | if (ifindex == BATADV_NULL_IFINDEX) |
552 | goto out; | 552 | goto out; |
553 | 553 | ||
554 | net_device = dev_get_by_index(&init_net, ifindex); | 554 | net_device = dev_get_by_index(&init_net, ifindex); |