Thread (32 messages) 32 messages, 3 authors, 2011-03-22

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

From: Javier Cardona <hidden>
Date: 2011-03-05 19:14:10

On Sat, Mar 5, 2011 at 6:01 AM, Johannes Berg [off-list ref] wrote:
On Fri, 2011-03-04 at 17:24 -0800, Thomas Pedersen wrote:
quoted
+++ 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help