Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/pci Fixed hw init condition.
details: https://anonhg.NetBSD.org/src-all/rev/7fa33cf01c64
branches: trunk
changeset: 1025453:7fa33cf01c64
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Mon Jan 11 23:14:01 2021 +1100
description:
Fixed hw init condition.
iwm now sends interrupts but does not scan yet.
diffstat:
sys/dev/pci/if_iwm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 499de3245151 -r 7fa33cf01c64 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Mon Jan 11 22:18:06 2021 +1100
+++ b/sys/dev/pci/if_iwm.c Mon Jan 11 23:14:01 2021 +1100
@@ -8285,7 +8285,7 @@
bool startall = false;
if (ic->ic_nrunning > 0) {
- if ((sc->sc_flags & (IWM_FLAG_FW_LOADED|IWM_FLAG_STOPPED))
+ if ((sc->sc_flags & (IWM_FLAG_FW_LOADED|IWM_FLAG_ATTACHED))
!= IWM_FLAG_FW_LOADED) {
iwm_init(vap->iv_ifp);
startall = true;
Home |
Main Index |
Thread Index |
Old Index