From patchwork Sun Feb 26 16:09:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 143100 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8D582B6FA2 for ; Mon, 27 Feb 2012 03:27:59 +1100 (EST) Received: from localhost ([::1]:53807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1gfs-00031J-28 for incoming@patchwork.ozlabs.org; Sun, 26 Feb 2012 11:10:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1gfF-0001BT-Np for qemu-devel@nongnu.org; Sun, 26 Feb 2012 11:09:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1gfE-0000FC-LO for qemu-devel@nongnu.org; Sun, 26 Feb 2012 11:09:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1gfE-0000F7-Dv for qemu-devel@nongnu.org; Sun, 26 Feb 2012 11:09:32 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1QG9V33027295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 26 Feb 2012 11:09:31 -0500 Received: from garlic.tlv.redhat.com (spice-ovirt.tlv.redhat.com [10.35.4.71]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q1QG9PeP018331; Sun, 26 Feb 2012 11:09:30 -0500 From: Alon Levy To: qemu-devel@nongnu.org Date: Sun, 26 Feb 2012 17:09:24 +0100 Message-Id: <1330272564-21692-4-git-send-email-alevy@redhat.com> In-Reply-To: <1330272564-21692-1-git-send-email-alevy@redhat.com> References: <1330272564-21692-1-git-send-email-alevy@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: kraxel@redhat.com Subject: [Qemu-devel] [PATCH 4/4] libcacard: fix reported ATR length X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Alon Levy --- 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 {