Skip to content

Commit

Permalink
Merge branch 'fix/ws_transport' into 'master'
Browse files Browse the repository at this point in the history
Make ws transport creation independent of foundation initialization

See merge request espressif/esp-idf!31774
  • Loading branch information
suren-gabrielyan-espressif committed Jul 8, 2024
2 parents eb2273d + 09c8b1f commit 1c2befc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tcp_transport/transport_ws.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1c2befc

Please sign in to comment.