mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 09:02:08 +00:00
esp-modem: Remove esp-netif destroy from modem network glue code
To be in line with other interfaces, when deleting the driver and it's glue layer to esp-netif, we DO NOT delete the related esp-netif (since is was allocated and created outside of the glue code and it works the same way in esp-eth and esp-wifi driver/glue layers). Closes https://github.com/espressif/esp-idf/issues/5486
This commit is contained in:
@@ -109,7 +109,6 @@ drv_create_failed:
|
||||
void esp_modem_netif_teardown(void *h)
|
||||
{
|
||||
esp_modem_netif_driver_t *driver = h;
|
||||
esp_netif_destroy(driver->base.netif);
|
||||
free(driver);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user