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/7cd6e0354dbc
branches:  trunk
changeset: 1027488:7cd6e0354dbc
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 b1f48b395a9b -r 7cd6e0354dbc 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_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