diff options
author | Javier Cardona <javier@cozybit.com> | 2011-04-07 18:08:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-12 16:57:38 -0400 |
commit | b39c48fac1fc915a5dcd024bf6e9aabc855ed591 (patch) | |
tree | d8c5d6e987f388b8c8769d16a51a07dfcd9c3539 /net/mac80211/cfg.c | |
parent | 5cff5e01e818029a5d2c3c31b7ae5e5e7ee70452 (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.c | 6 |
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 | /* |