[riot-notifications] [RIOT-OS/RIOT] gnrc_netif: check all required options on initialization (#10532)
notifications at github.com
Thu Jan 17 14:04:31 CET 2019
maribu commented on this pull request.
> @@ -1156,6 +1156,99 @@ static void _configure_netdev(netdev_t *dev)
+/* checks if a device supports all required options and functions */
+static void _test_options(gnrc_netif_t *netif)
+#if (GNRC_NETIF_L2ADDR_MAXLEN > 0) || GNRC_IPV6_NIB_CONF_6LN
(To elaborate on that: Murdock complains that `dummy_addr` is in many cases declared, but not used. I think the new `#if` ... `#else` magic I suggest should only declare it when it is actually used - but I did not check it.)
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...
More information about the notifications