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 in vap_create.



details:   https://anonhg.NetBSD.org/src-all/rev/f2f91efad000
branches:  trunk
changeset: 990744:f2f91efad000
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Tue May 12 13:02:44 2020 +1000

description:
Call ieee80211_init in vap_create.

diffstat:

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

diffs (12 lines):

diff -r ddb18bfd5e51 -r f2f91efad000 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Tue May 12 11:03:54 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Tue May 12 13:02:44 2020 +1000
@@ -869,6 +869,8 @@
            sizeof(struct ieee80211_frame) + IEEE80211_RADIOTAP_HDRLEN,
            &sc->sc_drvbpf);
 
+       ieee80211_init(ifp);
+
        return vap;
 }
 



Home | Main Index | Thread Index | Old Index