summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bwfm_pci.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2021-02-25 23:55:42 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2021-02-25 23:55:42 +0000
commitfe9408b2d62a9dc43bbbb70dcdb03271f40200d2 (patch)
treefbf34fe535f0fbdd8ba807defeb09b48034887c9 /sys/dev/pci/if_bwfm_pci.c
parent6cec9150242cda1833d79facd7ef29e6b90ccf1b (diff)
Some newer chips have two D11/802.11 cores, and we need to reset both at
the same time.
Diffstat (limited to 'sys/dev/pci/if_bwfm_pci.c')
-rw-r--r--sys/dev/pci/if_bwfm_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bwfm_pci.c b/sys/dev/pci/if_bwfm_pci.c
index 7bf723428e1..848869694b8 100644
--- a/sys/dev/pci/if_bwfm_pci.c
+++ b/sys/dev/pci/if_bwfm_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bwfm_pci.c,v 1.41 2021/02/25 23:26:05 patrick Exp $ */
+/* $OpenBSD: if_bwfm_pci.c,v 1.42 2021/02/25 23:55:41 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
@@ -781,7 +781,7 @@ bwfm_pci_load_microcode(struct bwfm_pci_softc *sc, const u_char *ucode, size_t s
}
bwfm_chip_set_active(bwfm, *(uint32_t *)ucode);
- for (i = 0; i < 40; i++) {
+ for (i = 0; i < 100; i++) {
delay(50 * 1000);
shared = bus_space_read_4(sc->sc_tcm_iot, sc->sc_tcm_ioh,
bwfm->sc_chip.ch_rambase + bwfm->sc_chip.ch_ramsize - 4);