Search Linux Wireless

Re: [PATCH 1/6] mac80211: fix mesh beacon format

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

 



On Wed, Aug 10, 2011 at 6:37 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Tue, 2011-08-09 at 12:50 -0700, Thomas Pedersen wrote:
>
>> -             mgmt->u.beacon.capab_info = 0x0; /* 0x0 for MPs */
>> +             mgmt->u.beacon.capab_info |= sdata->u.mesh.security
>> +                                          ? WLAN_CAPABILITY_PRIVACY : 0;
>
> This should, I believe, warn if you run with sparse (make C=1
> M=net/mac80211 or your favourite invocation) -- there's an endian error
> here.

OK that's useful, Thanks!
>
> johannes
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux