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/a6139ffc3523
branches:  trunk
changeset: 949940:a6139ffc3523
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 8b803a557c0f -r a6139ffc3523 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
@@ -3645,8 +3645,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