OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff1789
)
libcacard: fix reported ATR length
author
Alon Levy
<alevy@redhat.com>
Sun, 26 Feb 2012 16:09:24 +0000
(17:09 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 27 Feb 2012 12:37:36 +0000
(13:37 +0100)
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
libcacard/vcardt.h
patch
|
blob
|
history
diff --git
a/libcacard/vcardt.h
b/libcacard/vcardt.h
index
538bdde
..
d4d8e2e
100644
(file)
--- 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 {