Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/net80211 percpu_create done in vap_create.



details:   https://anonhg.NetBSD.org/src-all/rev/dccc788ba0d8
branches:  trunk
changeset: 377653:dccc788ba0d8
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Mon May 11 09:43:43 2020 +1000

description:
percpu_create done in vap_create.

XXX Someone please review.

diffstat:

 sys/net80211/ieee80211.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 5eccb0af70c6 -r dccc788ba0d8 sys/net80211/ieee80211.c
--- a/sys/net80211/ieee80211.c  Mon May 11 09:34:06 2020 +1000
+++ b/sys/net80211/ieee80211.c  Mon May 11 09:43:43 2020 +1000
@@ -788,6 +788,8 @@ ieee80211_vap_attach(struct ieee80211vap
        IEEE80211_UNLOCK(ic);
 
 #if __NetBSD__
+       ifp->if_percpuq = if_percpuq_create(ifp);
+
        if_register(ifp);
 #endif
 



Home | Main Index | Thread Index | Old Index