Skip to content

Commit

Permalink
sys/net: Added NETDEV_TYPE_CC110X to MTU init
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Feb 4, 2019
1 parent fc1b7f1 commit dae680d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys/net/gnrc/netif/gnrc_netif_device_type.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dae680d

Please sign in to comment.