diff options
author | Alon Levy <alevy@redhat.com> | 2012-02-26 17:09:24 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-27 13:37:36 +0100 |
commit | 0082f4336e128a17d5f34e01de0fd29930e99b0d (patch) | |
tree | 0798b4dbdfb2d0916336ba574605b3fe80bec6ce /libcacard | |
parent | cff17894e37feef5f0410c9557d38c2f00850657 (diff) | |
download | qemu-0082f4336e128a17d5f34e01de0fd29930e99b0d.zip qemu-0082f4336e128a17d5f34e01de0fd29930e99b0d.tar.gz qemu-0082f4336e128a17d5f34e01de0fd29930e99b0d.tar.bz2 |
libcacard: fix reported ATR length
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'libcacard')
-rw-r--r-- | libcacard/vcardt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcacard/vcardt.h b/libcacard/vcardt.h index 538bdde..d4d8e2e 100644 --- a/libcacard/vcardt.h +++ b/libcacard/vcardt.h @@ -26,8 +26,8 @@ typedef struct VCardEmulStruct VCardEmul; #define MAX_CHANNEL 4 /* create an ATR with appropriate historical bytes */ -#define VCARD_ATR_PREFIX(size) 0x3b, 0x66+(size), 0x00, 0xff, \ - 'V', 'C', 'A', 'R', 'D', '_' +#define VCARD_ATR_PREFIX(size) (0x3b, 0x68+(size), 0x00, 0xff, \ + 'V', 'C', 'A', 'R', 'D', '_') typedef enum { |