Search Linux Wireless

Re: [PATCH 4/4 v2] mac80211: Let userspace create stations when mesh security is enabled

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

 



On Sat, Mar 5, 2011 at 6:01 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> On Fri, 2011-03-04 at 17:24 -0800, Thomas Pedersen wrote:
>
>> +++ b/net/mac80211/mesh_plink.c
>> @@ -105,7 +105,7 @@ static struct sta_info *mesh_plink_alloc(struct ieee80211_sub_if_data *sdata,
>>       if (!sta)
>>               return NULL;
>>
>> -     sta->flags = WLAN_STA_AUTHORIZED;
>> +     sta->flags = WLAN_STA_AUTHORIZED | WLAN_STA_AUTH;
>>       sta->sta.supp_rates[local->hw.conf.channel->band] = rates;
>>       rate_control_rate_init(sta);
>
> This is just for consistency now, right? The AUTH flag isn't tested, but
> stations from userspace will have it set, afaiu?

Right.


-- 
Javier Cardona
cozybit Inc.
http://www.cozybit.com
--
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