[Feature][R307L/MD310EDT][task-view-1041][AT] fix AT+SLEEP_MODE close wifi issue

Change-Id: I76415cddd409e4a73a5c82e4576ceb8ec89b76ea
diff --git a/lynq/MD310/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c b/lynq/MD310/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
index 034f270..0c7c1b9 100755
--- a/lynq/MD310/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
+++ b/lynq/MD310/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
@@ -457,11 +457,10 @@
 	char network_type[32] = {0};

 	char ppp_status[32] = {0};

 	char rssi[32] = {0};

-	UCHAR  flag_str[8] = {0};

 

 	mmi_close_lcd_led_timer();

 	cfg_set("wifiEnabled", "0");

-	if (0 != ipc_send_message(MODULE_ID_WEB_CGI, MODULE_ID_WIFI, MSG_CMD_WIFI_ADVANCED, strlen(flag_str) + 1, flag_str, 0))

+	if (0 != ipc_send_message(MODULE_ID_WEB_CGI, MODULE_ID_WIFI, MSG_CMD_WIFI_ADVANCED, 2, "0", 0))

 	{

 		printf("***send msg error\n");

 	}

diff --git a/lynq/MD310EU/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c b/lynq/MD310EU/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
index 1506891..0a3516e 100755
--- a/lynq/MD310EU/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
+++ b/lynq/MD310EU/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
@@ -459,11 +459,10 @@
 	char network_type[32] = {0};

 	char ppp_status[32] = {0};

 	char rssi[32] = {0};

-	UCHAR  flag_str[8] = {0};

 

 	mmi_close_lcd_led_timer();

 	cfg_set("wifiEnabled", "0");

-	if (0 != ipc_send_message(MODULE_ID_WEB_CGI, MODULE_ID_WIFI, MSG_CMD_WIFI_ADVANCED, strlen(flag_str) + 1, flag_str, 0))

+	if (0 != ipc_send_message(MODULE_ID_WEB_CGI, MODULE_ID_WIFI, MSG_CMD_WIFI_ADVANCED, 2, "0", 0))

 	{

 		printf("***send msg error\n");

 	}

diff --git a/lynq/R307/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c b/lynq/R307/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
index f3cf434..5095b78 100755
--- a/lynq/R307/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
+++ b/lynq/R307/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
@@ -458,11 +458,10 @@
 	char network_type[32] = {0};

 	char ppp_status[32] = {0};

 	char rssi[32] = {0};

-	UCHAR  flag_str[8] = {0};

 

 	mmi_close_lcd_led_timer();

 	cfg_set("wifiEnabled", "0");

-	if (0 != ipc_send_message(MODULE_ID_WEB_CGI, MODULE_ID_WIFI, MSG_CMD_WIFI_ADVANCED, strlen(flag_str) + 1, flag_str, 0))

+	if (0 != ipc_send_message(MODULE_ID_WEB_CGI, MODULE_ID_WIFI, MSG_CMD_WIFI_ADVANCED, 2, "0", 0))

 	{

 		printf("***send msg error\n");

 	}

diff --git a/lynq/R307L/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c b/lynq/R307L/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
index f3cf434..5095b78 100755
--- a/lynq/R307L/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
+++ b/lynq/R307L/ap/app/zte_comm/at_ctl/src/atconfig/extat_softap_register.c
@@ -458,11 +458,10 @@
 	char network_type[32] = {0};

 	char ppp_status[32] = {0};

 	char rssi[32] = {0};

-	UCHAR  flag_str[8] = {0};

 

 	mmi_close_lcd_led_timer();

 	cfg_set("wifiEnabled", "0");

-	if (0 != ipc_send_message(MODULE_ID_WEB_CGI, MODULE_ID_WIFI, MSG_CMD_WIFI_ADVANCED, strlen(flag_str) + 1, flag_str, 0))

+	if (0 != ipc_send_message(MODULE_ID_WEB_CGI, MODULE_ID_WIFI, MSG_CMD_WIFI_ADVANCED, 2, "0", 0))

 	{

 		printf("***send msg error\n");

 	}