[bugfix][T108][bug-view-1640]【wifi】【gsw】 When the same process sets the ssid for the first time and connects to the hotspot, there is a callback print. When setting the ssid again and connecting to the hotspot, there is no callback print

Only Configure: No
Affected branch: GSW_V1453
Affected module: WIFI
Is it affected on IC: only ASR
Self-test: yes
Doc Update: no

Change-Id: I7f7ed8487efacabe12f25f33d6025861f5d5b46d
diff --git a/mbtk/test/libgsw_lib/gsw_wifi_test.c b/mbtk/test/libgsw_lib/gsw_wifi_test.c
index e005bb3..6c653c3 100644
--- a/mbtk/test/libgsw_lib/gsw_wifi_test.c
+++ b/mbtk/test/libgsw_lib/gsw_wifi_test.c
@@ -222,6 +222,31 @@
             gsw_wifi_get_ap_status(&ap_status);
             printf("ap status: %s\n", ap_status == GSW_WIFI_AP_STATUS_ENABLE ? "enable" : "disable");
         }
+        else if (strcmp(input, "ap-stop") == 0)
+        {
+            printf("stop AP...\n");
+            gsw_wifi_ap_stop();
+        }
+        else if (strcmp(input, "ap-start") == 0)
+        {
+            printf("y/Y: no set ; other: reset\n");
+            if (scanf(" %c", &ap_seting) != 1)
+            {
+                printf("Error reading input\n");
+            }
+
+            if (ap_seting == 'y' || ap_seting == 'Y')
+            {
+                printf("ap is running, no need to set\n");
+            }
+            else
+            {
+                ap_setting();
+            }
+            gsw_wifi_ap_start();
+            gsw_wifi_get_ap_status(&ap_status);
+            printf("ap status: %s\n", ap_status == GSW_WIFI_AP_STATUS_ENABLE ? "enable" : "disable");
+        }
         else if (strcmp(input, "restart-ap") == 0)
         {
             printf("Restarting AP...\n");