Re-fixed ATR error not send on reset
diff --git a/sam3s_example/simtrace/cciddriver.c b/sam3s_example/simtrace/cciddriver.c
index 25260e7..c386710 100644
--- a/sam3s_example/simtrace/cciddriver.c
+++ b/sam3s_example/simtrace/cciddriver.c
@@ -167,7 +167,7 @@
 
     TRACE_DEBUG(".");
 
-//    status = ISO7816_Datablock_ATR( Atr, &length );
+    status = ISO7816_Datablock_ATR( Atr, &length );
 //    ISO7816_Decode_ATR( Atr );
 
     if (status == 0) {
@@ -696,10 +696,9 @@
     do {
         bStatus = USBD_Write( CCID_EPT_DATA_IN, (void*)&ccidDriver.sCcidMessage, 
                               ccidDriver.sCcidMessage.bSizeToSend, 0, 0 );
-
-        TRACE_DEBUG("bStatus: 0x%x\n\r", bStatus);
-
     } while (bStatus != USBD_STATUS_SUCCESS);
+
+    TRACE_DEBUG("bStatus: 0x%x\n\r", bStatus);
 }
 
 
@@ -918,10 +917,9 @@
                              sizeof(S_ccid_bulk_out_header),
                              (TransferCallback)&CCIDCommandDispatcher,
                              (void*)0 );
-
-//        TRACE_DEBUG("bStat: %x\n\r", bStatus);
     } 
     while (bStatus != USBD_STATUS_SUCCESS);
+    TRACE_DEBUG("bStat: %x\n\r", bStatus);
 }