simtrace2-cardem: use local sim on exit

There is no obvious reason why the st should be stuck in cardem mode
without a working running util on the host side since there is no state
that is being kept, so switch back to using the local sim upon reset.

Change-Id: Ib622af0027d40b4e8afbb0fa0d3689f0dbfcac92
This commit is contained in:
Eric Wild
2021-07-27 17:09:03 +02:00
committed by laforge
parent 1ad205e682
commit a755b53768

View File

@@ -420,6 +420,7 @@ static void signal_handler(int signal)
switch (signal) {
case SIGINT:
osmo_st2_cardem_request_card_insert(ci, false);
osmo_st2_modem_sim_select_local(ci->slot);
exit(0);
break;
default: