We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d7ac2f commit 039e2ffCopy full SHA for 039e2ff
components/drivers/wlan/wlan_lwip.c
@@ -170,7 +170,7 @@ static void netif_set_connected(void *parameter)
170
LOG_D("F:%s L:%d dhcp start run", __FUNCTION__, __LINE__);
171
netifapi_netif_common(eth_dev->netif, netif_set_link_up, NULL);
172
#ifdef RT_LWIP_DHCP
173
- dhcp_start(eth_dev->netif);
+ netifapi_dhcp_start(eth_dev->netif);
174
#endif
175
rt_timer_start(&lwip_prot->timer);
176
}
@@ -198,7 +198,7 @@ static void netif_set_connected(void *parameter)
198
199
{
200
ip_addr_t ip_addr = { 0 };
201
- dhcp_stop(eth_dev->netif);
+ netifapi_dhcp_stop(eth_dev->netif);
202
netif_set_addr(eth_dev->netif, &ip_addr, &ip_addr, &ip_addr);
203
204
0 commit comments