parent
fcbddb6343
commit
e0392e644b
|
@ -199,7 +199,7 @@ void _start_lte(void)
|
||||||
|
|
||||||
system("/etc/ppp/ppp-4g init");
|
system("/etc/ppp/ppp-4g init");
|
||||||
|
|
||||||
restart_lte();
|
//restart_lte();
|
||||||
|
|
||||||
pthread_join(lte,NULL);
|
pthread_join(lte,NULL);
|
||||||
return;
|
return;
|
||||||
|
@ -298,7 +298,7 @@ ret_code stop_lte()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void restart_lte(void)
|
void restart_lte()
|
||||||
{
|
{
|
||||||
char result[RESULT_LENGTH] = {0};
|
char result[RESULT_LENGTH] = {0};
|
||||||
int wait_time = 0;
|
int wait_time = 0;
|
||||||
|
@ -361,7 +361,7 @@ void restart_lte(void)
|
||||||
{
|
{
|
||||||
g_status = START_FAIL;
|
g_status = START_FAIL;
|
||||||
pclose(f);
|
pclose(f);
|
||||||
return RET_EXEC_SHELL_ERR;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue