兼容 asr1903
Change-Id: I3888f1adc86ea1fa73af4996d31f40223c0e5735
diff --git a/mbtk/libmbtk_lib/net/mbtk_net_control.c b/mbtk/libmbtk_lib/net/mbtk_net_control.c
index 458f940..96701e9 100755
--- a/mbtk/libmbtk_lib/net/mbtk_net_control.c
+++ b/mbtk/libmbtk_lib/net/mbtk_net_control.c
@@ -54,7 +54,7 @@
static bool net_control_thread_running = FALSE;
#ifdef MBTK_NET_MONITOR_SUPPORT
-static pthread_t net_control_thread_id = -1;
+static pthread_t net_control_thread_id;
static int net_control_fd = -1;
static char net_if_name[100] = {0};
#endif
@@ -595,7 +595,6 @@
if(mbtk_task_start(&net_control_thread))
{
LOGE("Create thread fail.");
- net_control_thread_id = -1;
net_control_thread_running = FALSE;
return -1;
}