From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2KB3-0007PW-9R for qemu-devel@nongnu.org; Tue, 28 Feb 2012 05:21:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2KAn-00043J-PX for qemu-devel@nongnu.org; Tue, 28 Feb 2012 05:21:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2KAn-00042O-IJ for qemu-devel@nongnu.org; Tue, 28 Feb 2012 05:20:45 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1SAKi01027081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 28 Feb 2012 05:20:44 -0500 From: Gerd Hoffmann Date: Tue, 28 Feb 2012 11:20:21 +0100 Message-Id: <1330424430-23015-13-git-send-email-kraxel@redhat.com> In-Reply-To: <1330424430-23015-1-git-send-email-kraxel@redhat.com> References: <1330424430-23015-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 12/21] usb-ccid: advertise SELF_POWERED List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alon Levy , Gerd Hoffmann From: Alon Levy Before commit ed5a83ddd8c1d8ec7b1015315530cf29949e7c48 each device provided it's own response to USB_REQ_GET_STATUS, but after it that response was based on bmAttributes, which was errounously set for usb-ccid as 0xa0 and not 0xe0. Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- hw/usb-ccid.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/usb-ccid.c b/hw/usb-ccid.c index 0b2ac80..ce01e34 100644 --- a/hw/usb-ccid.c +++ b/hw/usb-ccid.c @@ -447,7 +447,7 @@ static const USBDescDevice desc_device = { { .bNumInterfaces = 1, .bConfigurationValue = 1, - .bmAttributes = 0xa0, + .bmAttributes = 0xe0, .bMaxPower = 50, .nif = 1, .ifs = &desc_iface0, -- 1.7.1