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/1cca1ea9fcbf
branches:  trunk
changeset: 951651:1cca1ea9fcbf
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 00e040d4129c -r 1cca1ea9fcbf 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
@@ -797,6 +797,8 @@
            sizeof(struct ieee80211_frame) + IEEE80211_RADIOTAP_HDRLEN,
            &sc->sc_drvbpf);
 
+       ieee80211_init(ifp);
+
        return vap;
 }
 



Home | Main Index | Thread Index | Old Index