From 87685e4f14bec88545671a31266a1ca8866f18c0 Mon Sep 17 00:00:00 2001 From: Jozef Kralik Date: Fri, 8 Sep 2023 10:04:12 +0000 Subject: [PATCH] cloud: remove loggin flag when manager starts --- api/cloud/oc_cloud.c | 1 + 1 file changed, 1 insertion(+) diff --git a/api/cloud/oc_cloud.c b/api/cloud/oc_cloud.c index 183b5e82ae..fe6b487f3e 100644 --- a/api/cloud/oc_cloud.c +++ b/api/cloud/oc_cloud.c @@ -70,6 +70,7 @@ start_manager(void *user_data) oc_cloud_context_t *ctx = (oc_cloud_context_t *)user_data; oc_free_endpoint(ctx->cloud_ep); ctx->cloud_ep = oc_new_endpoint(); + ctx->store.status &= ~OC_CLOUD_LOGGED_IN; cloud_manager_start(ctx); return OC_EVENT_DONE; }