Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2016 11:08:32 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r305472 - head/sys/dev/rtwn
Message-ID:  <201609061108.u86B8WoR096246@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Tue Sep  6 11:08:32 2016
New Revision: 305472
URL: https://svnweb.freebsd.org/changeset/base/305472

Log:
  rtwn: fix firmware readiness check in rtwn_load_firmware().

Modified:
  head/sys/dev/rtwn/if_rtwn.c

Modified: head/sys/dev/rtwn/if_rtwn.c
==============================================================================
--- head/sys/dev/rtwn/if_rtwn.c	Tue Sep  6 10:13:49 2016	(r305471)
+++ head/sys/dev/rtwn/if_rtwn.c	Tue Sep  6 11:08:32 2016	(r305472)
@@ -2204,7 +2204,7 @@ rtwn_load_firmware(struct rtwn_softc *sc
 			break;
 		DELAY(50);
 	}
-	if (ntries == 1000) {
+	if (ntries == 2000) {
 		device_printf(sc->sc_dev,
 		    "timeout waiting for firmware readiness\n");
 		error = ETIMEDOUT;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609061108.u86B8WoR096246>