mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
modify tcpip_dep_dhcpc_stop to tcpip_adapter_dhcpc_stop
This commit is contained in:
parent
34ac96994b
commit
e4722e6143
@ -388,7 +388,7 @@ esp_err_t tcpip_adapter_dhcpc_start(tcpip_adapter_if_t tcpip_if)
|
||||
return ESP_ERR_TCPIP_ADAPTER_DHCP_ALREADY_STARTED;
|
||||
}
|
||||
|
||||
esp_err_t tcpip_dep_dhcpc_stop(tcpip_adapter_if_t tcpip_if)
|
||||
esp_err_t tcpip_adapter_dhcpc_stop(tcpip_adapter_if_t tcpip_if)
|
||||
{
|
||||
/* only support sta now, need to support ethernet */
|
||||
if (tcpip_if != TCPIP_ADAPTER_IF_STA || tcpip_if >= TCPIP_ADAPTER_IF_MAX) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user