svn commit: r296823 - in head: sbin/ifconfig sys/net80211

Jan Beich jbeich at FreeBSD.org
Mon Mar 14 16:00:47 UTC 2016


Adrian Chadd <adrian at FreeBSD.org> writes:

> Author: adrian
> Date: Mon Mar 14 04:39:35 2016
> New Revision: 296823
> URL: https://svnweb.freebsd.org/changeset/base/296823
>
> Log:
>   [net80211] handle unlisted information elements.
>   
>   This displays the IE names in ifconfig but it doesn't yet decode things.
>   
>   Submitted by: Idwer Vollering <vidwer at gmail.com>
>   Differential Revision:	https://reviews.freebsd.org/D3782
[...]
> Modified: head/sys/net80211/ieee80211.h
[...]
> +struct ieee80211_ap_chan_report_ie {
> +	uint8_t		ie;
> +	uint8_t		len;
> +	uint8_t		class; /* operating class */

"class" is a reserved keyword in C++. www/firefox implements wifi
geolocation in C++, so it's now broken. www/chromium is probably also
affected.

  In file included from netwerk/wifi/Unified_cpp_netwerk_wifi0.cpp:20:
  In file included from netwerk/wifi/nsWifiScannerFreeBSD.cpp:19:
  In file included from /usr/include/net80211/ieee80211_ioctl.h:35:
  /usr/include/net80211/ieee80211.h:800:11: error: declaration of anonymous class must be a definition
          uint8_t         class; /* operating class */
                          ^
  1 error generated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20160314/a5e6ba98/attachment.sig>


More information about the svn-src-head mailing list