[BugFix][API-1477]rm check fw reg WAR
Affected branch:MR3.0-xx && GSW3.0
Affected module:wifi
Is it addected on both ZXIC and MTK: only MTK
Self-test: Yes
Doc Update: No
Change-Id: Icf1334b8321e22ad9c6ac66e1fbb0bd1e1aadd8d
diff --git a/lib/liblynq-wifi6/libwifi6.c b/lib/liblynq-wifi6/libwifi6.c
index 94a094d..3c42b83 100755
--- a/lib/liblynq-wifi6/libwifi6.c
+++ b/lib/liblynq-wifi6/libwifi6.c
@@ -1574,9 +1574,10 @@
g_ap_watcher_stop_flag = 1;
g_sta_watcher_stop_flag = 1;
g_sta_auto_watcher_stop_flag = 1;
- g_ap_tmp_watcher_stop_flag = 1;
+/* g_ap_tmp_watcher_stop_flag = 1;
if (g_ap_watcher_pid != 0)
pthread_join(g_ap_watcher_pid, NULL);
+*/
if (g_sta_watcher_pid != 0)
pthread_join(g_sta_watcher_pid, NULL);
if (g_sta_auto_watcher_pid != 0)
@@ -1590,7 +1591,7 @@
g_ap_watcher_pid = 0;
g_sta_watcher_pid = 0;
g_sta_auto_watcher_pid = 0;
- g_ap_tmp_watcher_pid = 0;
+// g_ap_tmp_watcher_pid = 0;
g_lynq_wpa_ctrl[0] = NULL;
g_lynq_wpa_ctrl[1] = NULL;
g_history_disconnect_valid_num = 0; //clean history_disconenct_list info
@@ -2295,11 +2296,6 @@
DO_OK_FAIL_REQUEST(lynq_wifi_frequency_cmd);
DO_OK_FAIL_REQUEST(lynq_cmd_mode);
DO_OK_FAIL_REQUEST(cmd_save_config);
-//@ tmp do down/up to fix 5G AP turn to 2.4G cannot be conenct
-
- system("wl down");
- system("wl up");
- RLOGD("[%s] -- run cmd down/up --%d",__func__,__LINE__);
return 0;
}
@@ -2757,6 +2753,7 @@
}
check_tether_and_notify();
+/*
if (g_ap_tmp_watcher_pid == 0)
{
if(pthread_create(&g_ap_tmp_watcher_pid,NULL,APTmpWatcherThreadProc,NULL) < 0)
@@ -2767,7 +2764,7 @@
}
RLOGD("[lynq_wifi_ap_start] creat APTmpWatcherThreadProc ok");
}
-
+*/
RLOGD("end %s %d",__func__,__LINE__);
return 0;
}
@@ -2797,11 +2794,12 @@
RLOGE("lynq_wifi_ap_start excute script fail");
return -1;
}
+/*
g_ap_tmp_watcher_stop_flag = 1;
if (g_ap_tmp_watcher_pid != 0)
pthread_join(g_ap_tmp_watcher_pid, NULL);
g_ap_tmp_watcher_pid = 0;
-
+*/
RLOGD("end %s %d",__func__,__LINE__);
return 0;
}