Benjamin Valentin a82bc64a34 sys/net/gnrc/netif: only register netif after init was successful
If we call `netif_register()` before we can be sure that the interface
can be configured, a 'zombie' interface remains in the list, causing
all kinds of trouble down the line.

Only call `netif_register()` if `init()` was successful.
2021-02-25 21:48:47 +01:00
..
2021-01-26 16:17:18 +01:00
2020-10-23 11:27:48 +02:00
2020-11-13 22:59:09 +01:00
2021-01-21 11:22:33 +01:00
2018-03-06 14:00:32 +01:00
2020-09-04 16:29:13 +05:30
2018-06-11 19:12:02 +02:00
2015-08-30 14:00:33 +02:00
2020-09-30 20:00:03 +05:30