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


Change subject: firmware/sniffer: Log old and new state in ISO7816-3 state 
changes
......................................................................

firmware/sniffer: Log old and new state in ISO7816-3 state changes

Change-Id: Iddb460cc2ad02c11a74de10dab127bb14cee9605
---
M firmware/libcommon/source/sniffer.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/79/30179/1

diff --git a/firmware/libcommon/source/sniffer.c 
b/firmware/libcommon/source/sniffer.c
index 1647e17..e3b7fbb 100644
--- a/firmware/libcommon/source/sniffer.c
+++ b/firmware/libcommon/source/sniffer.c
@@ -302,9 +302,10 @@
                break;
        }

+       TRACE_INFO("ISO 7816-3 state %u->%u\n\r", iso_state, iso_state_new);
+
        /* save new state */
        iso_state = iso_state_new;
-       TRACE_INFO("Changed to ISO 7816-3 state %u\n\r", iso_state);
 }

 const struct value_string data_flags[] = {

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

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: Iddb460cc2ad02c11a74de10dab127bb14cee9605
Gerrit-Change-Number: 30179
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <lafo...@osmocom.org>
Gerrit-MessageType: newchange

Reply via email to