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/b1bc2939a361
branches:  trunk
changeset: 989443:b1bc2939a361
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 9673ae32ea93 -r b1bc2939a361 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