aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2011-04-07 18:08:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-12 16:57:38 -0400
commitb39c48fac1fc915a5dcd024bf6e9aabc855ed591 (patch)
treed8c5d6e987f388b8c8769d16a51a07dfcd9c3539 /net/mac80211/cfg.c
parent5cff5e01e818029a5d2c3c31b7ae5e5e7ee70452 (diff)
nl80211/mac80211: let userspace authenticate stations
Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index dc623d884d02..1c25723eacda 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -686,6 +686,12 @@ static void sta_apply_parameters(struct ieee80211_local *local,
686 if (set & BIT(NL80211_STA_FLAG_MFP)) 686 if (set & BIT(NL80211_STA_FLAG_MFP))
687 sta->flags |= WLAN_STA_MFP; 687 sta->flags |= WLAN_STA_MFP;
688 } 688 }
689
690 if (mask & BIT(NL80211_STA_FLAG_AUTHENTICATED)) {
691 sta->flags &= ~WLAN_STA_AUTH;
692 if (set & BIT(NL80211_STA_FLAG_AUTHENTICATED))
693 sta->flags |= WLAN_STA_AUTH;
694 }
689 spin_unlock_irqrestore(&sta->flaglock, flags); 695 spin_unlock_irqrestore(&sta->flaglock, flags);
690 696
691 /* 697 /*