Change in osmo-ccid-firmware[master]: HACK: cuart: Artificially extend WTIME by 1s

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/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Sep 2 18:09:45 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/19952 )


Change subject: HACK: cuart: Artificially extend WTIME by 1s
......................................................................

HACK: cuart: Artificially extend WTIME by 1s

It seems some cards take too long to respond, see
https://osmocom.org/issues/4742

Change-Id: I85a7a0ae6195856fad17f249f0903f144a9aec85
Related: OS#4742
---
M ccid_common/cuart.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/52/19952/1

diff --git a/ccid_common/cuart.c b/ccid_common/cuart.c
index 7094a86..dc173ff 100644
--- a/ccid_common/cuart.c
+++ b/ccid_common/cuart.c
@@ -67,6 +67,8 @@
 		usecs = usecs % 1000000;
 	} else
 		secs = 0;
+	/* HACK: Some cards seem to take more time than specified? SO#4742 */
+	secs += 1;
 	osmo_timer_schedule(&cuart->wtime_tmr, secs, usecs);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/19952
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: I85a7a0ae6195856fad17f249f0903f144a9aec85
Gerrit-Change-Number: 19952
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200902/3f69b227/attachment.htm>


More information about the gerrit-log mailing list