aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@cozybit.com>2011-05-03 19:57:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-11 14:44:47 -0400
commit8429828ec96b66b6861e9fabebec007e9e132370 (patch)
tree235ecff2d762d55a4a4404a45e73ad2d25a656eb /net/wireless
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')
-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)
2328 err = -EINVAL; 2328 err = -EINVAL;
2329 if (params.sta_flags_mask & 2329 if (params.sta_flags_mask &
2330 ~(BIT(NL80211_STA_FLAG_AUTHENTICATED) | 2330 ~(BIT(NL80211_STA_FLAG_AUTHENTICATED) |
2331 BIT(NL80211_STA_FLAG_MFP) |
2331 BIT(NL80211_STA_FLAG_AUTHORIZED))) 2332 BIT(NL80211_STA_FLAG_AUTHORIZED)))
2332 err = -EINVAL; 2333 err = -EINVAL;
2333 break; 2334 break;