From 2fa1e73167ef3d9d8e1263c3af1f2605c72052f6 Mon Sep 17 00:00:00 2001 From: flyingcys <294102238@qq.com> Date: Fri, 15 Jun 2018 12:29:40 +0800 Subject: [PATCH] fix wifi_conf bug --- rtthread_patch/realtek/common/wifi/wifi_conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtthread_patch/realtek/common/wifi/wifi_conf.c b/rtthread_patch/realtek/common/wifi/wifi_conf.c index ba0971b..f685338 100644 --- a/rtthread_patch/realtek/common/wifi/wifi_conf.c +++ b/rtthread_patch/realtek/common/wifi/wifi_conf.c @@ -1023,8 +1023,8 @@ int wifi_off(void) return 0; } #if CONFIG_LWIP_LAYER - dhcps_deinit(); - LwIP_DHCP(0, DHCP_STOP); +// dhcps_deinit(); +// LwIP_DHCP(0, DHCP_STOP); netif_set_down(&xnetif[0]); netif_set_down(&xnetif[1]); #endif