net: conn_mgr: Fix time delay in K_THREAD_DEFINE()

The time parameter cannot be K_NO_DELAY because the time delay
parameter is ms so using value 0 instead.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2020-04-03 15:56:33 +03:00
commit 3f9d734d15

View file

@ -172,7 +172,7 @@ static void conn_mgr(void)
K_THREAD_DEFINE(conn_mgr_thread, CONFIG_NET_CONNECTION_MANAGER_STACK_SIZE, K_THREAD_DEFINE(conn_mgr_thread, CONFIG_NET_CONNECTION_MANAGER_STACK_SIZE,
(k_thread_entry_t)conn_mgr, NULL, NULL, NULL, (k_thread_entry_t)conn_mgr, NULL, NULL, NULL,
K_PRIO_COOP(2), 0, K_NO_WAIT); K_PRIO_COOP(2), 0, 0);
void net_conn_mgr_resend_status(void) void net_conn_mgr_resend_status(void)
{ {