From bc2c95c833ad32a2ea9d5f57d8cb4bbc57007080 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 4 Dec 2023 16:53:16 +0100 Subject: [PATCH] net/gnrc/netif: set 6LN flag for ethernet if gnrc_sixloenc is used --- sys/net/gnrc/netif/gnrc_netif_device_type.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/net/gnrc/netif/gnrc_netif_device_type.c b/sys/net/gnrc/netif/gnrc_netif_device_type.c index 2ce077c0e544..654ed31b5843 100644 --- a/sys/net/gnrc/netif/gnrc_netif_device_type.c +++ b/sys/net/gnrc/netif/gnrc_netif_device_type.c @@ -115,6 +115,9 @@ void gnrc_netif_init_6ln(gnrc_netif_t *netif) } /* intentionally falls through */ case NETDEV_TYPE_BLE: +#ifdef MODULE_GNRC_SIXLOENC + case NETDEV_TYPE_ETHERNET: +#endif #ifdef MODULE_CC110X case NETDEV_TYPE_CC110X: #endif