svn commit: r332941 - stable/11/sys/dev/wl

Ian Lepore ian at FreeBSD.org
Tue Apr 24 16:45:14 UTC 2018


Author: ian
Date: Tue Apr 24 16:45:13 2018
New Revision: 332941
URL: https://svnweb.freebsd.org/changeset/base/332941

Log:
  Fix wl(4) after r332288, using the same fix applied in r332331.  This
  driver no longer exists in head, so this is a direct commit to 11-stable.

Modified:
  stable/11/sys/dev/wl/if_wl.c

Modified: stable/11/sys/dev/wl/if_wl.c
==============================================================================
--- stable/11/sys/dev/wl/if_wl.c	Tue Apr 24 15:59:39 2018	(r332940)
+++ stable/11/sys/dev/wl/if_wl.c	Tue Apr 24 16:45:13 2018	(r332941)
@@ -1426,7 +1426,7 @@ wlioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
 	/* read out the number of used cache elements */
     case SIOCGWLCITEM:
 	WL_LOCK(sc);
-	ifr_data_get_ptr(ifr) = (caddr_t) sc->w_sigitems;
+	ifr->ifr_ifru.ifru_data = (caddr_t) sc->w_sigitems;
 	WL_UNLOCK(sc);
 	break;
 


More information about the svn-src-all mailing list