libcacard: fix reported ATR length
Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
cff17894e3
commit
0082f4336e
|
@ -26,8 +26,8 @@ typedef struct VCardEmulStruct VCardEmul;
|
||||||
#define MAX_CHANNEL 4
|
#define MAX_CHANNEL 4
|
||||||
|
|
||||||
/* create an ATR with appropriate historical bytes */
|
/* create an ATR with appropriate historical bytes */
|
||||||
#define VCARD_ATR_PREFIX(size) 0x3b, 0x66+(size), 0x00, 0xff, \
|
#define VCARD_ATR_PREFIX(size) (0x3b, 0x68+(size), 0x00, 0xff, \
|
||||||
'V', 'C', 'A', 'R', 'D', '_'
|
'V', 'C', 'A', 'R', 'D', '_')
|
||||||
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
Loading…
Reference in New Issue