Change in simtrace2[master]: simtrace2-cardem: use local sim on exit

Hoernchen gerrit-no-reply at lists.osmocom.org
Wed Jul 28 13:46:49 UTC 2021


Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/25084 )


Change subject: simtrace2-cardem: use local sim on exit
......................................................................

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
---
M host/src/simtrace2-cardem-pcsc.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/84/25084/1

diff --git a/host/src/simtrace2-cardem-pcsc.c b/host/src/simtrace2-cardem-pcsc.c
index d43e7f2..8e143ba 100644
--- a/host/src/simtrace2-cardem-pcsc.c
+++ b/host/src/simtrace2-cardem-pcsc.c
@@ -420,6 +420,7 @@
 	switch (signal) {
 	case SIGINT:
 		osmo_st2_cardem_request_card_insert(ci, false);
+		osmo_st2_modem_sim_select_local(ci->slot);
 		exit(0);
 		break;
 	default:

-- 
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/25084
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: Ib622af0027d40b4e8afbb0fa0d3689f0dbfcac92
Gerrit-Change-Number: 25084
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210728/91761429/attachment.htm>


More information about the gerrit-log mailing list