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

Adrian Chadd adrian at freebsd.org
Mon Mar 14 16:34:48 UTC 2016


oops! I'll fix now

Thanks!


-a


On 14 March 2016 at 09:00, Jan Beich <jbeich at freebsd.org> wrote:
> 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.


More information about the svn-src-all mailing list