## Description: add some description
## Origin/Author: add some origin or author
## Bug: bug URL
Index: ccid-1.4.6/src/openct/proto-t1.c
===================================================================
--- ccid-1.4.6.orig/src/openct/proto-t1.c	2012-06-05 20:18:59.000000000 +0200
+++ ccid-1.4.6/src/openct/proto-t1.c	2012-06-05 20:19:43.571259425 +0200
@@ -361,6 +361,10 @@
 			 * an R block */
 			if (t1_seq(pcb) != t1->nr) {
 				DEBUG_COMM("wrong nr");
+
+				if (retries == 0)
+					goto resync;
+
 				slen = t1_build(t1, sdata, dad,
 						T1_R_BLOCK | T1_OTHER_ERROR,
 						NULL, NULL);
