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/aa7f4580602e
branches:  trunk
changeset: 935390:aa7f4580602e
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 f1af7489bd6d -r aa7f4580602e 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
@@ -6897,7 +6897,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