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/b8b13804c611
branches:  trunk
changeset: 989290:b8b13804c611
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 6259b2bcffa1 -r b8b13804c611 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