mirror of
https://github.com/flyingcys/realtek_ameba.git
synced 2024-12-04 20:20:30 +00:00
fix wifi_conf bug
This commit is contained in:
parent
20e40ac431
commit
2fa1e73167
1 changed files with 2 additions and 2 deletions
|
@ -1023,8 +1023,8 @@ int wifi_off(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#if CONFIG_LWIP_LAYER
|
#if CONFIG_LWIP_LAYER
|
||||||
dhcps_deinit();
|
// dhcps_deinit();
|
||||||
LwIP_DHCP(0, DHCP_STOP);
|
// LwIP_DHCP(0, DHCP_STOP);
|
||||||
netif_set_down(&xnetif[0]);
|
netif_set_down(&xnetif[0]);
|
||||||
netif_set_down(&xnetif[1]);
|
netif_set_down(&xnetif[1]);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue