From owner-freebsd-usb@FreeBSD.ORG Wed Oct 9 18:11:04 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CED2BE15 for ; Wed, 9 Oct 2013 18:11:04 +0000 (UTC) (envelope-from aseem.jolly@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B14062AC3 for ; Wed, 9 Oct 2013 18:11:04 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VTyDv-0002Cq-Q2 for freebsd-usb@freebsd.org; Wed, 09 Oct 2013 11:11:03 -0700 Date: Wed, 9 Oct 2013 11:11:03 -0700 (PDT) From: "aseem.jolly" To: freebsd-usb@freebsd.org Message-ID: <1381342263797-5850596.post@n5.nabble.com> In-Reply-To: <5254FD72.2050507@bitfrost.no> References: <1381274499940-5850403.post@n5.nabble.com> <5254FD72.2050507@bitfrost.no> Subject: Re: USB device configuration MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2013 18:11:04 -0000 I couldn't really get the meaning of the following "Anyhow, if a second configure event fails after a successful one, we are still in the configured state". Are we making the following change done: if (err) unconfigure(); else usb_set_device_state(udev, USB_STATE_CONFIGURED); -- View this message in context: http://freebsd.1045724.n5.nabble.com/USB-device-configuration-tp5850403p5850596.html Sent from the freebsd-usb mailing list archive at Nabble.com.