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/0896164cf07c
branches:  trunk
changeset: 374906:0896164cf07c
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 007b80d5e564 -r 0896164cf07c 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 @@ iwn_vap_create(struct ieee80211com *ic, 
            sizeof(struct ieee80211_frame) + IEEE80211_RADIOTAP_HDRLEN,
            &sc->sc_drvbpf);
 
+       ieee80211_init(ifp);
+
        return vap;
 }
 



Home | Main Index | Thread Index | Old Index