mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 02:33:10 +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:
1 parent
1ad205e682
commit
a755b53768
1 file changed
+1
@@ -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