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/6f23316ad055
branches:  trunk
changeset: 364094:6f23316ad055
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 6a9d334d0f56 -r 6f23316ad055 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