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

Change-Id: Iddb460cc2ad02c11a74de10dab127bb14cee9605
This commit is contained in:
Harald Welte authored and laforge committed 2022-11-19 09:02:23 +00:00
1 parent c343995b2d
commit 4836f23fa3
1 file changed
+2 -1
+2 -1
View File
@@ -302,9 +302,10 @@ static void change_state(enum iso7816_3_sniff_state iso_state_new)
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[] = {