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/57ccb0e3a9b7
branches:  trunk
changeset: 366896:57ccb0e3a9b7
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 d0efefe719f2 -r 57ccb0e3a9b7 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_UNLOCK(ic);
 
 #if __NetBSD__
+       ifp->if_percpuq = if_percpuq_create(ifp);
+
        if_register(ifp);
 #endif
 



Home | Main Index | Thread Index | Old Index