Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/net80211 The argument passed to ieee8011_init is a...



details:   https://anonhg.NetBSD.org/src-all/rev/bab929a63b5c
branches:  trunk
changeset: 370274:bab929a63b5c
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Fri May 22 23:22:10 2020 +1000

description:
The argument passed to ieee8011_init is actually the ifp.

diffstat:

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

diffs (13 lines):

diff -r e48ab8357435 -r bab929a63b5c sys/net80211/ieee80211_ioctl.c
--- a/sys/net80211/ieee80211_ioctl.c    Thu May 21 01:10:08 2020 +1000
+++ b/sys/net80211/ieee80211_ioctl.c    Fri May 22 23:22:10 2020 +1000
@@ -3644,8 +3644,7 @@
 #if __FreeBSD__
                        ieee80211_init(vap);
 #elif __NetBSD__
-                       /* arg is a vap in 802.11 code */ 
-                       ieee80211_init((struct ifnet *)vap);
+                       ieee80211_init(vap->iv_ifp);
 #endif
                error = 0;
        }



Home | Main Index | Thread Index | Old Index