fixes confusing error in ACLK Legacy (#11278)
Timotej S committed
Jun 23, 2021 at 19:29 UTC
51d0992bc2f549826d7a8bf462fe96975a66421a
1 file changed
+1
-2
aclk/legacy/aclk_query.c
+1
-2
@@ -794,8 +794,7 @@ void *legacy_aclk_query_main_thread(void *ptr)
794
sleep(1);
795
continue;
796
}
797
- errno = 0;
798
- error("ACLK version negotiation failed. No reply to \"hello\" with \"version\" from cloud in time of %ds."
797
+ info("ACLK version negotiation failed (This is expected). No reply to \"hello\" with \"version\" from cloud in time of %ds."
798
" Reverting to default ACLK version of %d.", VERSION_NEG_TIMEOUT, ACLK_VERSION_MIN);
799
legacy_aclk_shared_state.version_neg = ACLK_VERSION_MIN;
800
aclk_set_rx_handlers(legacy_aclk_shared_state.version_neg);