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 Attach flags is already set.



details:   https://anonhg.NetBSD.org/src-all/rev/1571cbe907ac
branches:  trunk
changeset: 376983:1571cbe907ac
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Wed Jan 13 00:31:41 2021 +1100

description:
Attach flags is already set.

diffstat:

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

diffs (11 lines):

diff -r 40f24abad849 -r 1571cbe907ac sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Wed Jan 13 00:25:34 2021 +1100
+++ b/sys/dev/pci/if_iwm.c      Wed Jan 13 00:31:41 2021 +1100
@@ -8240,7 +8240,6 @@ iwm_config_complete(struct iwm_softc *sc
            iwm_media_change, ieee80211_media_status, &sc->sc_media_mtx);
 #endif
 
-       sc->sc_flags |= IWM_FLAG_ATTACHED;
 
        callout_setfunc(&sc->sc_calib_to, iwm_calib_timeout, sc);
        callout_setfunc(&sc->sc_led_blink_to, iwm_led_blink_timeout, sc);



Home | Main Index | Thread Index | Old Index