svn commit: r312002 - in head/sys/dev/rtwn: rtl8188e rtl8192c
Kevin Lo
kevlo at FreeBSD.org
Fri Jan 13 02:11:17 UTC 2017
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);
More information about the svn-src-all
mailing list