mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
net/netdev: Fix.. Too many calls to net_unlock()
This commit is contained in:
@@ -212,7 +212,6 @@ static int get_ifindex(void)
|
||||
* mean no-index in the POSIX standards.
|
||||
*/
|
||||
|
||||
net_unlock();
|
||||
return ndx + 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user