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/022a842ccde9
branches:  trunk
changeset: 370877:022a842ccde9
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 9315182a67c1 -r 022a842ccde9 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