From: Thomas Pedersen Date: Tue, 3 May 2011 23:57:13 +0000 (-0700) Subject: nl80211: allow setting MFP flag for a meshif X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8429828ec96b66b6861e9fabebec007e9e132370;p=mv-sheeva.git nl80211: allow setting MFP flag for a meshif Signed-off-by: Thomas Pedersen Signed-off-by: Javier Cardona Signed-off-by: John W. Linville --- diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index b454f8960a0..fc3c95d9254 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;