samples: net: mqtt: Define the stack properly

The stack name was incorrectly specified in mqtt_publisher sample
application, this cause compilation error when certain Kconfig
options were specified.

Jira: ZEP-2566

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2017-08-22 21:59:53 +03:00 committed by Anas Nashif
parent 8875a98221
commit 87adcd5ff4

View File

@ -77,7 +77,7 @@ static int network_setup(void);
static u8_t tls_request_buf[TLS_REQUEST_BUF_SIZE];
NET_STACK_DEFINE("mqtt_tls_stack", tls_stack,
NET_STACK_DEFINE(mqtt_tls_stack, tls_stack,
CONFIG_NET_APP_TLS_STACK_SIZE, CONFIG_NET_APP_TLS_STACK_SIZE);
NET_APP_TLS_POOL_DEFINE(tls_mem_pool, 30);