[Feature][R306_MTN][task-view-1950] Open the lock net function
Change-Id: I724661e1a44dafd46e28dd07b0393cd2337b88c3
diff --git a/lynq/R306_MTN/ap/app/zte_cpe/zte_cpe.c b/lynq/R306_MTN/ap/app/zte_cpe/zte_cpe.c
index b4fb0da..aac1de6 100755
--- a/lynq/R306_MTN/ap/app/zte_cpe/zte_cpe.c
+++ b/lynq/R306_MTN/ap/app/zte_cpe/zte_cpe.c
@@ -108,13 +108,13 @@
//}
return;
}
-/*
+
void zte_locknet_entry(char *arg)
{
zte_locknet_main(0,NULL);
//return; //klocwork
}
-*/
+
void zte_watchdog_entry(char *arg)
{
zte_watchdog_main(0,NULL);
@@ -257,8 +257,8 @@
if(atoi(LanEnable) == 1) { //mifiÐÎ̬
/* zte_locknet */
- //pthread_t zte_locknet_thread_tid;
- //pthread_create(&zte_locknet_thread_tid, NULL, (void *)zte_locknet_entry, NULL);
+ pthread_t zte_locknet_thread_tid;
+ pthread_create(&zte_locknet_thread_tid, NULL, (void *)zte_locknet_entry, NULL);
/* fluxstat */
pthread_t fluxstat_thread_tid;