proper close of rf when cell not found

master
Ismael Gomez 8 years ago
parent 930147fcda
commit 643fd1ccbe

@ -331,9 +331,6 @@ int main(int argc, char **argv) {
exit(-1); exit(-1);
} }
} }
} }
if (prog_args.net_port > 0) { if (prog_args.net_port > 0) {
@ -398,6 +395,7 @@ int main(int argc, char **argv) {
} while (ret == 0 && !go_exit); } while (ret == 0 && !go_exit);
if (go_exit) { if (go_exit) {
srslte_rf_close(&rf);
exit(0); exit(0);
} }

Loading…
Cancel
Save