mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #20114 from benpicco/gnrc_netif-error
sys/net/gnrc/netif: print which netif failed to init
This commit is contained in:
commit
6eed92b1b7
@ -1952,7 +1952,7 @@ static void *_gnrc_netif_thread(void *args)
|
||||
/* signal that driver init is done */
|
||||
mutex_unlock(&ctx->init_done);
|
||||
if (ctx->result < 0) {
|
||||
LOG_ERROR("gnrc_netif: init failed: %d\n", ctx->result);
|
||||
LOG_ERROR("gnrc_netif: init %u failed: %d\n", thread_getpid(), ctx->result);
|
||||
return NULL;
|
||||
}
|
||||
#ifdef MODULE_NETSTATS_L2
|
||||
|
Loading…
Reference in New Issue
Block a user