diff options
Diffstat (limited to 'nuttx/net/net_sockets.c')
-rw-r--r-- | nuttx/net/net_sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/net_sockets.c b/nuttx/net/net_sockets.c index b3a894e2b..81e48c121 100644 --- a/nuttx/net/net_sockets.c +++ b/nuttx/net/net_sockets.c @@ -106,7 +106,7 @@ void net_initialize(void) /* Initialize the socket layer */ #if CONFIG_NSOCKET_DESCRIPTORS > 0 - sem_init(&g_netdev_sem, 0, 1); + netdev_seminit(); #endif /* Initialize the periodic ARP timer */ |