From 4f7d5b105b7bfaf8914b416f609b488c9cfb1755 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 5 Mar 2020 15:18:43 +0100 Subject: [PATCH] sys/net/gnrc: Flag esp_now as 6LN In gnrc_netif_init_6ln() the flag GNRC_NETIF_FLAGS_6LN is accidentally not set for esp_now devices. This commit fixes this. --- 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 3159b5e348..1d5bde412f 100644 --- a/sys/net/gnrc/netif/gnrc_netif_device_type.c +++ b/sys/net/gnrc/netif/gnrc_netif_device_type.c @@ -104,6 +104,9 @@ void gnrc_netif_init_6ln(gnrc_netif_t *netif) case NETDEV_TYPE_BLE: #ifdef MODULE_CC110X case NETDEV_TYPE_CC110X: +#endif +#ifdef MODULE_ESP_NOW + case NETDEV_TYPE_ESP_NOW: #endif case NETDEV_TYPE_NRFMIN: #if GNRC_IPV6_NIB_CONF_6LN