fix(examples): fix example of openssl client connecting to the server fail

When openssl client connect to the server, the wifi not get the ip
This commit is contained in:
yuanjm
2019-07-26 11:51:22 +08:00
parent f1b9e15bce
commit 77b9d38791

View File

@ -172,6 +172,9 @@ static void openssl_client_task(void* p)
printf("OpenSSL client thread start...\n");
xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT,
false, true, portMAX_DELAY);
ESP_LOGI(TAG, "Connected to AP");
#if CONFIG_SSL_USING_WOLFSSL
/* CA date verification need system time */
get_time();