mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user