From owner-svn-src-head@FreeBSD.ORG Fri Feb 6 15:27:40 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E26D106566B; Fri, 6 Feb 2009 15:27:40 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4C6C88FC20; Fri, 6 Feb 2009 15:27:40 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n16FRefJ064991; Fri, 6 Feb 2009 15:27:40 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n16FRemZ064990; Fri, 6 Feb 2009 15:27:40 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <200902061527.n16FRemZ064990@svn.freebsd.org> From: Kevin Lo Date: Fri, 6 Feb 2009 15:27:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188237 - head/sys/dev/usb X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 15:27:41 -0000 Author: kevlo Date: Fri Feb 6 15:27:40 2009 New Revision: 188237 URL: http://svn.freebsd.org/changeset/base/188237 Log: In urtw_init() call urtw_stop(ifp, 0) rather than urtw_stop(ifp, 1) to stop the device. Modified: head/sys/dev/usb/if_urtw.c Modified: head/sys/dev/usb/if_urtw.c ============================================================================== --- head/sys/dev/usb/if_urtw.c Fri Feb 6 15:09:31 2009 (r188236) +++ head/sys/dev/usb/if_urtw.c Fri Feb 6 15:27:40 2009 (r188237) @@ -2076,7 +2076,7 @@ urtw_init(void *arg) struct ifnet *ifp = sc->sc_ifp; usbd_status error; - urtw_stop(ifp, 1); + urtw_stop(ifp, 0); error = urtw_adapter_start(sc); if (error != 0)