[riot-notifications] [RIOT-OS/RIOT] sys/net/gnrc/netif: make gnrc_netif_create() blocking to avoid race condition (#16527)

benpicco notifications at github.com
Fri Jun 4 17:58:21 CEST 2021

@benpicco commented on this pull request.

> @@ -1659,6 +1667,8 @@ static void *_gnrc_netif_thread(void *args)
     dev->context = netif;
     /* initialize low-level driver */
     res = dev->driver->init(dev);

we could now also use this return value as the return value for `gnrc_netif_create()` which currently will always return 0.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210604/e38007cb/attachment.htm>

More information about the notifications mailing list