tests/gnrc_sixlowpan: fix stacksize of dummy device

This was already too small in 6c2510dc so it should have been properly
tested. Now that we are testing it on CI with binaries compiled by LLVM
this leads to crashes with this "new" platform.
This commit is contained in:
Martine Lenders 2018-09-24 16:18:17 +02:00
parent 028bc2a3e4
commit 925b9c6422

View File

@ -38,7 +38,7 @@
#define IEEE802154_MAX_FRAG_SIZE (102) #define IEEE802154_MAX_FRAG_SIZE (102)
static char _netif_stack[THREAD_STACKSIZE_SMALL]; static char _netif_stack[THREAD_STACKSIZE_DEFAULT];
static netdev_test_t _ieee802154_dev; static netdev_test_t _ieee802154_dev;
static int _get_netdev_device_type(netdev_t *netdev, void *value, size_t max_len) static int _get_netdev_device_type(netdev_t *netdev, void *value, size_t max_len)
@ -80,7 +80,7 @@ static void _init_interface(void)
netdev_test_set_get_cb(&_ieee802154_dev, NETOPT_SRC_LEN, netdev_test_set_get_cb(&_ieee802154_dev, NETOPT_SRC_LEN,
_get_netdev_src_len); _get_netdev_src_len);
netif = gnrc_netif_ieee802154_create( netif = gnrc_netif_ieee802154_create(
_netif_stack, THREAD_STACKSIZE_SMALL, GNRC_NETIF_PRIO, _netif_stack, THREAD_STACKSIZE_DEFAULT, GNRC_NETIF_PRIO,
"dummy_netif", (netdev_t *)&_ieee802154_dev); "dummy_netif", (netdev_t *)&_ieee802154_dev);
ipv6_addr_t addr = IPV6_ADDR_UNSPECIFIED; ipv6_addr_t addr = IPV6_ADDR_UNSPECIFIED;