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

sys/net: Added NETDEV_TYPE_CC110X to MTU init

This commit is contained in:
Marian Buschsieweke 2019-01-30 16:43:41 +01:00
parent fc1b7f1e35
commit dae680dcb2
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -140,9 +140,10 @@ void gnrc_netif_ipv6_init_mtu(gnrc_netif_t *netif)
switch (netif->device_type) {
#if defined(MODULE_NETDEV_IEEE802154) || defined(MODULE_NRFMIN) || \
defined(MODULE_XBEE) || defined(MODULE_ESP_NOW) || \
defined(MODULE_GNRC_SIXLOENC)
defined(MODULE_GNRC_SIXLOENC) || defined(MODULE_CC110X)
case NETDEV_TYPE_IEEE802154:
case NETDEV_TYPE_NRFMIN:
case NETDEV_TYPE_CC110X:
#ifdef MODULE_GNRC_SIXLOWPAN_IPHC
netif->flags |= GNRC_NETIF_FLAGS_6LO_HC;
#endif