From owner-svn-src-head@freebsd.org Fri Jan 13 02:11:17 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0DA5CADB7D; Fri, 13 Jan 2017 02:11:17 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A76B1529; Fri, 13 Jan 2017 02:11:17 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0D2BGvR092766; Fri, 13 Jan 2017 02:11:16 GMT (envelope-from kevlo@FreeBSD.org) Received: (from kevlo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0D2BGUq092764; Fri, 13 Jan 2017 02:11:16 GMT (envelope-from kevlo@FreeBSD.org) Message-Id: <201701130211.v0D2BGUq092764@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevlo set sender to kevlo@FreeBSD.org using -f From: Kevin Lo Date: Fri, 13 Jan 2017 02:11:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r312002 - in head/sys/dev/rtwn: rtl8188e rtl8192c X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 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, 13 Jan 2017 02:11:17 -0000 Author: kevlo Date: Fri Jan 13 02:11:16 2017 New Revision: 312002 URL: https://svnweb.freebsd.org/changeset/base/312002 Log: Increase retry count to 100 in r88e_fw_cmd() and r92c_fw_cmd(). Modified: head/sys/dev/rtwn/rtl8188e/r88e_fw.c head/sys/dev/rtwn/rtl8192c/r92c_fw.c Modified: head/sys/dev/rtwn/rtl8188e/r88e_fw.c ============================================================================== --- head/sys/dev/rtwn/rtl8188e/r88e_fw.c Fri Jan 13 01:39:19 2017 (r312001) +++ head/sys/dev/rtwn/rtl8188e/r88e_fw.c Fri Jan 13 02:11:16 2017 (r312002) @@ -69,7 +69,7 @@ r88e_fw_cmd(struct rtwn_softc *sc, uint8 } /* Wait for current FW box to be empty. */ - for (ntries = 0; ntries < 50; ntries++) { + for (ntries = 0; ntries < 100; ntries++) { if (!(rtwn_read_1(sc, R92C_HMETFR) & (1 << sc->fwcur))) break; rtwn_delay(sc, 2000); Modified: head/sys/dev/rtwn/rtl8192c/r92c_fw.c ============================================================================== --- head/sys/dev/rtwn/rtl8192c/r92c_fw.c Fri Jan 13 01:39:19 2017 (r312001) +++ head/sys/dev/rtwn/rtl8192c/r92c_fw.c Fri Jan 13 02:11:16 2017 (r312002) @@ -80,7 +80,7 @@ r92c_fw_cmd(struct rtwn_softc *sc, uint8 } /* Wait for current FW box to be empty. */ - for (ntries = 0; ntries < 50; ntries++) { + for (ntries = 0; ntries < 100; ntries++) { if (!(rtwn_read_1(sc, R92C_HMETFR) & (1 << sc->fwcur))) break; rtwn_delay(sc, 2000);