Skip to content

Commit 1cfa122

Browse files
Johan Hedbergnashif
authored andcommitted
Bluetooth: Mesh: Increase advertising thread size
In certain configurations, such as with MPU support enabled, the consumption of the advertising thread has gone slightly up. In some case it was seen to overflow by some 48 bytes. Let it always be 786, like it was so far with CONFIG_BT_HOST_CRYPTO. Signed-off-by: Johan Hedberg <[email protected]>
1 parent 3d53ee9 commit 1cfa122

File tree

1 file changed

+0
-7
lines changed
  • subsys/bluetooth/host/mesh

1 file changed

+0
-7
lines changed

subsys/bluetooth/host/mesh/adv.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,7 @@
4545
#define ADV_INT_DEFAULT_MS 100
4646
#define ADV_INT_FAST_MS 20
4747

48-
/* TinyCrypt PRNG consumes a lot of stack space, so we need to have
49-
* an increased call stack whenever it's used.
50-
*/
51-
#if defined(CONFIG_BT_HOST_CRYPTO)
5248
#define ADV_STACK_SIZE 768
53-
#else
54-
#define ADV_STACK_SIZE 512
55-
#endif
5649

5750
static K_FIFO_DEFINE(adv_queue);
5851
static struct k_thread adv_thread_data;

0 commit comments

Comments
 (0)