mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +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.
|
* mean no-index in the POSIX standards.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
net_unlock();
|
|
||||||
return ndx + 1;
|
return ndx + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user