fix(tcpip_adapter): fix unsupported function return OK
@@ -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)
