openssl_server: Rename openssl_client_init() to openssl_server_init() to match usage
Merges https://github.com/espressif/esp-idf/pull/928
This commit is contained in:
parent
ef60d73fe4
commit
105f9f466e
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ failed1:
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void openssl_client_init(void)
|
static void openssl_server_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
xTaskHandle openssl_handle;
|
xTaskHandle openssl_handle;
|
||||||
|
@ -219,7 +219,7 @@ static esp_err_t wifi_event_handler(void *ctx, system_event_t *event)
|
||||||
break;
|
break;
|
||||||
case SYSTEM_EVENT_STA_GOT_IP:
|
case SYSTEM_EVENT_STA_GOT_IP:
|
||||||
xEventGroupSetBits(wifi_event_group, CONNECTED_BIT);
|
xEventGroupSetBits(wifi_event_group, CONNECTED_BIT);
|
||||||
openssl_client_init();
|
openssl_server_init();
|
||||||
break;
|
break;
|
||||||
case SYSTEM_EVENT_STA_DISCONNECTED:
|
case SYSTEM_EVENT_STA_DISCONNECTED:
|
||||||
/* This is a workaround as ESP32 WiFi libs don't currently
|
/* This is a workaround as ESP32 WiFi libs don't currently
|
||||||
|
|
Loading…
Reference in a new issue