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/0196c1635131
branches: trunk
changeset: 988964:0196c1635131
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 b948dc0ef0df -r 0196c1635131 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