aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAndriy Voskoboinyk <avos@FreeBSD.org>2016-11-06 17:24:16 +0000
committerAndriy Voskoboinyk <avos@FreeBSD.org>2016-11-06 17:24:16 +0000
commit1acd7ad907c388d72ce6bf1da9e4473ccfd16a01 (patch)
tree457fe7b056388e73226717413d694f9afd81c144 /sys/dev
parent7f35637063f1be8a14e58393a8c39bfbed90ed79 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/rtwn/rtl8192c/pci/r92ce_fw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/rtwn/rtl8192c/pci/r92ce_fw.c b/sys/dev/rtwn/rtl8192c/pci/r92ce_fw.c
index b7f8d4ac2f34..b28104463b6c 100644
--- a/sys/dev/rtwn/rtl8192c/pci/r92ce_fw.c
+++ b/sys/dev/rtwn/rtl8192c/pci/r92ce_fw.c
@@ -69,6 +69,7 @@ r92ce_fw_reset(struct rtwn_softc *sc, int reason)
* We must sleep for one second to let the firmware settle.
* Accessing registers too early will hang the whole system.
*/
- rtwn_delay(sc, 1000 * 1000);
+ if (reason == RTWN_FW_RESET_DOWNLOAD)
+ rtwn_delay(sc, 1000 * 1000);
}
#endif