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: Johannes Berg <johannes@sipsolutions.net>
Date: 2011-03-05 14:01:46

On Fri, 2011-03-04 at 17:24 -0800, Thomas Pedersen wrote:
quoted hunk ↗ jump to hunk
+++ 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?

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help