Merge branch 'bugfix/fix_unsupported_func_return_ok' into 'master'

tcpip_adapter: fix unsupported function return OK

See merge request sdk/ESP8266_RTOS_SDK!1163
This commit is contained in:
Dong Heng
2019-11-04 15:49:53 +08:00

View File

@ -920,7 +920,7 @@ esp_err_t tcpip_adapter_dhcps_stop(tcpip_adapter_if_t tcpip_if)
esp_err_t tcpip_adapter_dhcpc_option(tcpip_adapter_option_mode_t opt_op, tcpip_adapter_option_id_t opt_id, void *opt_val, uint32_t opt_len)
{
// TODO: when dhcp request timeout,change the retry count
return ESP_OK;
return ESP_ERR_NOT_SUPPORTED;
}
static void tcpip_adapter_dhcpc_cb(struct netif *netif)