Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932191Ab0GVO0m (ORCPT ); Thu, 22 Jul 2010 10:26:42 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:11370 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754548Ab0GVO0l convert rfc822-to-8bit (ORCPT ); Thu, 22 Jul 2010 10:26:41 -0400 MIME-version: 1.0 Content-type: text/plain; charset=utf-8; format=flowed; delsp=yes Date: Thu, 22 Jul 2010 16:28:03 +0200 From: =?utf-8?B?TWljaGHFgiBOYXphcmV3aWN6?= Subject: Re: [PATCH] USB: core: Choose configuration with lowest bConfigurationValue In-reply-to: To: Alan Stern Cc: linux-usb@vger.kernel.org, Adam Kropelin , Xiaofan Chen , linux-kernel@vger.kernel.org Message-id: Organization: Samsung Electronics Content-transfer-encoding: 8BIT User-Agent: Opera Mail/10.60 (Linux) References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1291 Lines: 27 > On Thu, 22 Jul 2010, Michal Nazarewicz wrote: >> This patch removes code from usb_choose_configuration() >> responsible for ignoring the first USB device configuration if >> its first interface is RNDIS. Instead, >> usb_choose_configuration() chooses configuration with lowest >> bConfigurationValue. Linux' Ethernet gadget uses a lower >> bConfigurationValue for the second configuration which is >> a CDC configuration so this code should choose configuration >> that suits Linux better. On Thu, 22 Jul 2010 16:22:37 +0200, Alan Stern wrote: > I don't like this idea. Choosing configs is a sensitive topic, since > it is highly visible to users. It should be changed minimally, if at > all. Fine by me. I've just posted it to show what I had in mind. -- Best regards, _ _ | Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o | Computer Science, MichaƂ "mina86" Nazarewicz (o o) +----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/