From 3b544a12177c1c996e61acc3be69c63818380f67 Mon Sep 17 00:00:00 2001 From: Christina Quast Date: Fri, 8 May 2015 16:59:47 +0200 Subject: [PATCH] cciddriverdesc: Atmel bug fix of slot status register Atmel library mixes up the value for two different messages. Explanation can be found here: http://permalink.gmane.org/gmane.comp.mobile.osmocom.simtrace/29 Actually, a better fix for this problem would be to go through the Atmel code and replace ICC_INSERTED_EVENT with ICC_BS_PRESENT_NOTACTIVATED where appropriate and in accordance with the Smart Card CCID standard (and libccid, for this matter). --- firmware/include_board/cciddriverdescriptors.h | 1 - 1 file changed, 1 deletion(-) diff --git a/firmware/include_board/cciddriverdescriptors.h b/firmware/include_board/cciddriverdescriptors.h index 88497a41..07550398 100644 --- a/firmware/include_board/cciddriverdescriptors.h +++ b/firmware/include_board/cciddriverdescriptors.h @@ -126,7 +126,6 @@ #define ICC_PRESENT 0x01 #define ICC_CHANGE 0x02 #define ICC_INSERTED_EVENT 0x01 -//FIXME: #define ICC_INSERTED_EVENT ICC_PRESENT+ICC_CHANGE // ICCD: Table 6.1-8 Bitmap for bStatus field #define ICC_BS_PRESENT_ACTIVATED 0x00 // USB-ICC is present and activated