[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 17/26] hw/usb/dev-smartcard-reader.c: define str
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH 17/26] hw/usb/dev-smartcard-reader.c: define structs for CCID_Parameter internals |
Date: |
Fri, 22 Mar 2013 15:23:26 +0100 |
Hi
On Mon, Mar 18, 2013 at 2:11 PM, Alon Levy <address@hidden> wrote:
> static void ccid_reset_parameters(USBCCIDState *s)
> {
> - uint32_t len = sizeof(abDefaultProtocolDataStructure);
> -
> - s->bProtocolNum = 1; /* T=1 */
> - s->ulProtocolDataStructureSize = len;
> - memcpy(s->abProtocolDataStructure, abDefaultProtocolDataStructure, len);
> + s->bProtocolNum = 0; /* T=0 */
> + s->abProtocolDataStructure = defaultProtocolDataStructure;
> }
You changed default protocol, even if it's a correct change imho, why
not make it explicit with a seperate patch?
Other than that, it looks great.
--
Marc-André Lureau
- [Qemu-devel] [PATCH 09/26] libcacard: split vscclient main() from socket reading, (continued)
- [Qemu-devel] [PATCH 09/26] libcacard: split vscclient main() from socket reading, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 15/26] hw/usb/dev-smartcard-reader.c: nicer debug messages, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 13/26] ccid-card-passthru, dev-smartcard-reader: add debug environment variables, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 16/26] hw/usb/dev-smartcard-reader.c: remove aborts (never triggered, but just in case), Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 14/26] hw/usb/dev-smartcard-reader.c: white space fixes, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 17/26] hw/usb/dev-smartcard-reader.c: define structs for CCID_Parameter internals, Alon Levy, 2013/03/18
- Re: [Qemu-devel] [PATCH 17/26] hw/usb/dev-smartcard-reader.c: define structs for CCID_Parameter internals,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 22/26] libcacard/vreader: add debugging messages for apdu, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 20/26] hw/usb/dev-smartcard-reader: support windows guest, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 23/26] libcacard: change default ATR, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 19/26] hw/usb/dev-smartcard-reader.c: dwFeadvertise support for T=0 only, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 25/26] dev-smartcard-reader: empty implementation for Mechanical (fail correctly), Alon Levy, 2013/03/18