兼容 asr1903
Change-Id: I3888f1adc86ea1fa73af4996d31f40223c0e5735
diff --git a/mbtk/libmbtk_lib/wifi/sta_ctrl.c b/mbtk/libmbtk_lib/wifi/sta_ctrl.c
index cad497c..8d6a88a 100755
--- a/mbtk/libmbtk_lib/wifi/sta_ctrl.c
+++ b/mbtk/libmbtk_lib/wifi/sta_ctrl.c
@@ -47,7 +47,7 @@
static struct wpa_ctrl *sta_ctrl_conn;
static struct wpa_ctrl *sta_mon_conn;
static int sta_ctrl_attached = 0;
-static pthread_t sta_event_thread_id = -1;
+static pthread_t sta_event_thread_id;
static int sta_event_thread_is_running = 0;
static char sta_ctrl_conf_file_path[50];
static char sta_ctrl_ifname[10];
@@ -586,7 +586,6 @@
close(sta_ctrl_pipe_fd[0]);
close(sta_ctrl_pipe_fd[1]);
- sta_event_thread_id = -1;
sta_ctrl_msg = NULL;
// Stop process wpa_supplicant