summaryrefslogtreecommitdiff
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@cozybit.com>2011-05-03 16:57:13 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-05-11 14:44:47 -0400
commit8429828ec96b66b6861e9fabebec007e9e132370 (patch)
tree235ecff2d762d55a4a4404a45e73ad2d25a656eb /net/wireless/nl80211.c
parentff973af74aa6932ca4758266bccec68e8135ddf7 (diff)
nl80211: allow setting MFP flag for a meshif
Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r--net/wireless/nl80211.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index b454f8960a04..fc3c95d92546 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -2328,6 +2328,7 @@ static int nl80211_set_station(struct sk_buff *skb, struct genl_info *info)
err = -EINVAL;
if (params.sta_flags_mask &
~(BIT(NL80211_STA_FLAG_AUTHENTICATED) |
+ BIT(NL80211_STA_FLAG_MFP) |
BIT(NL80211_STA_FLAG_AUTHORIZED)))
err = -EINVAL;
break;