1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

tests/gnrc_netif: adapt ops->init to handle driver initialization

This commit is contained in:
Jose Alamos 2021-09-30 10:48:52 +02:00
parent 5f46ab72e0
commit eb23813467
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9

View File

@ -116,7 +116,12 @@ static void _set_up(void)
static inline int _test_init(gnrc_netif_t *netif)
{
(void)netif;
gnrc_netif_default_init(netif);
int res = gnrc_netif_default_init(netif);
if (res < 0) {
return res;
}
init_called = true;
return 0;