mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'fix/ws_transport' into 'master'
Make ws transport creation independent of foundation initialization See merge request espressif/esp-idf!31774
This commit is contained in:
commit
1c2befc3b3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user