diff --git a/net/netdev/netdev_register.c b/net/netdev/netdev_register.c index af95263210..408491413f 100644 --- a/net/netdev/netdev_register.c +++ b/net/netdev/netdev_register.c @@ -212,7 +212,6 @@ static int get_ifindex(void) * mean no-index in the POSIX standards. */ - net_unlock(); return ndx + 1; } }