diff options
author | Christina Quast <chrysh.ng+git@gmail.com> | 2015-05-08 16:59:47 +0200 |
---|---|---|
committer | Christina Quast <chrysh.ng+git@gmail.com> | 2015-05-08 16:59:47 +0200 |
commit | 3b544a12177c1c996e61acc3be69c63818380f67 (patch) | |
tree | 26c4e9db1f09c825d1155197621a09a2d2ce1ded | |
parent | 3735039b595246338b3f3ff149b00f0838edf80e (diff) |
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).
-rw-r--r-- | firmware/include_board/cciddriverdescriptors.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/include_board/cciddriverdescriptors.h b/firmware/include_board/cciddriverdescriptors.h index 88497a4..0755039 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 |