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 Backed out changeset 2b647ae0e03e



details:   https://anonhg.NetBSD.org/src-all/rev/a3b50d58e0e5
branches:  trunk
changeset: 371029:a3b50d58e0e5
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Wed Jan 13 00:25:34 2021 +1100

description:
Backed out changeset 2b647ae0e03e

The original condition used was correct.

diffstat:

 sys/dev/pci/if_iwm.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 70d62d43e2c6 -r a3b50d58e0e5 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Mon Jan 11 23:14:01 2021 +1100
+++ b/sys/dev/pci/if_iwm.c      Wed Jan 13 00:25:34 2021 +1100
@@ -8285,7 +8285,7 @@
        bool startall = false;
 
        if (ic->ic_nrunning > 0) {
-               if ((sc->sc_flags & (IWM_FLAG_FW_LOADED|IWM_FLAG_ATTACHED))
+               if ((sc->sc_flags & (IWM_FLAG_FW_LOADED|IWM_FLAG_STOPPED))
                    != IWM_FLAG_FW_LOADED) {
                        iwm_init(vap->iv_ifp);
                        startall = true;



Home | Main Index | Thread Index | Old Index