svn commit: r305472 - head/sys/dev/rtwn

Andriy Voskoboinyk avos at FreeBSD.org
Tue Sep 6 11:08:33 UTC 2016


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;


More information about the svn-src-head mailing list