mirror of https://gerrit.osmocom.org/simtrace2
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).
This commit is contained in:
parent
3735039b59
commit
3b544a1217
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue