From 925b9c6422129db4f3a5e39e517744170f012833 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Mon, 24 Sep 2018 16:18:17 +0200 Subject: [PATCH] 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. --- tests/gnrc_sixlowpan/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gnrc_sixlowpan/main.c b/tests/gnrc_sixlowpan/main.c index 8d0ecbdc21..aee8f88b68 100644 --- a/tests/gnrc_sixlowpan/main.c +++ b/tests/gnrc_sixlowpan/main.c @@ -38,7 +38,7 @@ #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 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, _get_netdev_src_len); 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); ipv6_addr_t addr = IPV6_ADDR_UNSPECIFIED;