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 Call ieee80211_init only once, currently o...



details:   https://anonhg.NetBSD.org/src-all/rev/879c98befa5a
branches:  trunk
changeset: 360866:879c98befa5a
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Wed Jul 01 12:32:45 2020 +1000

description:
Call ieee80211_init only once, currently only one vap is supported.

iwn(4) now works with phil-wifi!

diffstat:

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

diffs (11 lines):

diff -r 80f065368fd5 -r 879c98befa5a sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Wed Jul 01 12:31:21 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Wed Jul 01 12:32:45 2020 +1000
@@ -6970,7 +6970,6 @@
        sc->sc_flags |= IWN_FLAG_HW_INITED;
 out:
        mutex_exit(&sc->sc_mtx);
-       ieee80211_init(ifp);
 
        if (ic->ic_opmode == IEEE80211_M_MONITOR)
                ieee80211_new_state(vap, IEEE80211_S_RUN, -1);



Home | Main Index | Thread Index | Old Index