This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Hoernchen gerrit-no-reply at lists.osmocom.orgHoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16264 )
Change subject: don't wait for TCK if card only supports T0
......................................................................
don't wait for TCK if card only supports T0
This could be handled by a timeout instead, but timeouts don't work yet.
Change-Id: Ice7bc4e603bbbbef88258af41f61e14a06727add
---
M ccid_common/iso7816_fsm.c
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/64/16264/1
diff --git a/ccid_common/iso7816_fsm.c b/ccid_common/iso7816_fsm.c
index 21378e0..beda7ab 100644
--- a/ccid_common/iso7816_fsm.c
+++ b/ccid_common/iso7816_fsm.c
@@ -633,6 +633,10 @@
osmo_fsm_inst_state_chg_ms(fi, ATR_S_WAIT_TCK,
guard_time_ms, T_GUARD);
break;
+ } else {
+ /* no TCK present, ATR complete; notify parent */
+ osmo_fsm_inst_state_chg(fi, ATR_S_DONE, 0, 0);
+ osmo_fsm_inst_dispatch(fi->proc.parent, ISO7816_E_ATR_DONE_IND, atp->atr);
}
} else {
break;
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16264
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Ice7bc4e603bbbbef88258af41f61e14a06727add
Gerrit-Change-Number: 16264
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/20191127/a80d5504/attachment.htm>