From owner-svn-src-head@FreeBSD.ORG Mon Nov 21 21:59:01 2011 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 DF7391065672; Mon, 21 Nov 2011 21:59:01 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CF9018FC12; Mon, 21 Nov 2011 21:59:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pALLx1nA061396; Mon, 21 Nov 2011 21:59:01 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pALLx1K9061394; Mon, 21 Nov 2011 21:59:01 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201111212159.pALLx1K9061394@svn.freebsd.org> From: Adrian Chadd Date: Mon, 21 Nov 2011 21:59:01 +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: r227804 - head/sys/dev/ath 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: Mon, 21 Nov 2011 21:59:02 -0000 Author: adrian Date: Mon Nov 21 21:59:01 2011 New Revision: 227804 URL: http://svn.freebsd.org/changeset/base/227804 Log: Fix some whitespace pollution. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Mon Nov 21 20:33:18 2011 (r227803) +++ head/sys/dev/ath/if_ath.c Mon Nov 21 21:59:01 2011 (r227804) @@ -1864,12 +1864,10 @@ ath_txrx_stop(struct ath_softc *sc) int i = MAX_TXRX_ITERATIONS; ATH_UNLOCK_ASSERT(sc); - /* Stop any new TX/RX from occuring */ taskqueue_block(sc->sc_tq); ATH_PCU_LOCK(sc); - /* * Sleep until all the pending operations have completed. * @@ -1878,7 +1876,7 @@ ath_txrx_stop(struct ath_softc *sc) */ while (sc->sc_rxproc_cnt || sc->sc_txproc_cnt || sc->sc_txstart_cnt || sc->sc_intr_cnt) { - if (i <= 0) + if (i <= 0) break; msleep(sc, &sc->sc_mtx, 0, "ath_txrx_stop", 1); i--;