Increase retry count to 100 in r88e_fw_cmd() and r92c_fw_cmd().
This commit is contained in:
parent
be04edbb4f
commit
68c3c0258d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312002
@ -69,7 +69,7 @@ r88e_fw_cmd(struct rtwn_softc *sc, uint8_t id, const void *buf, int len)
|
||||
}
|
||||
|
||||
/* 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);
|
||||
|
@ -80,7 +80,7 @@ r92c_fw_cmd(struct rtwn_softc *sc, uint8_t id, const void *buf, int len)
|
||||
}
|
||||
|
||||
/* 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);
|
||||
|
Loading…
Reference in New Issue
Block a user