mirror of git://git.sysmocom.de/ofono
stktest: Don't power up if no more tests remain
This commit is contained in:
parent
c563ced686
commit
6c9195486e
|
@ -1213,8 +1213,10 @@ void __stktest_test_next()
|
||||||
else
|
else
|
||||||
cur_test = cur_test->next;
|
cur_test = cur_test->next;
|
||||||
|
|
||||||
if (cur_test == NULL)
|
if (cur_test == NULL) {
|
||||||
g_main_loop_quit(main_loop);
|
g_main_loop_quit(main_loop);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
powerup();
|
powerup();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue