forked from espressif/esp-idf
fix(ws_transport): decouple WebSocket transport from foundation initialization
This commit is contained in:
committed by
Suren Gabrielyan
parent
6a75241bf1
commit
09c8b1f618
@@ -700,7 +700,7 @@ static int ws_get_socket(esp_transport_handle_t t)
|
||||
|
||||
esp_transport_handle_t esp_transport_ws_init(esp_transport_handle_t parent_handle)
|
||||
{
|
||||
if (parent_handle == NULL || parent_handle->foundation == NULL) {
|
||||
if (parent_handle == NULL) {
|
||||
ESP_LOGE(TAG, "Invalid parent ptotocol");
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user