From patchwork Tue May 3 23:57:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Cardona X-Patchwork-Id: 752332 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p43NvhhK031181 for ; Tue, 3 May 2011 23:57:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754602Ab1ECX5n (ORCPT ); Tue, 3 May 2011 19:57:43 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:64694 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754268Ab1ECX5k (ORCPT ); Tue, 3 May 2011 19:57:40 -0400 Received: by mail-pw0-f46.google.com with SMTP id 15so278996pwi.19 for ; Tue, 03 May 2011 16:57:40 -0700 (PDT) Received: by 10.68.11.196 with SMTP id s4mr633814pbb.301.1304467060422; Tue, 03 May 2011 16:57:40 -0700 (PDT) Received: from localhost.localdomain ([99.8.184.170]) by mx.google.com with ESMTPS id z3sm344013pbk.55.2011.05.03.16.57.39 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 May 2011 16:57:39 -0700 (PDT) From: Javier Cardona To: "John W. Linville" Cc: Thomas Pedersen , Javier Cardona , devel@lists.open80211s.org, Johannes Berg , linux-wireless@vger.kernel.org, jlopex@gmail.com Subject: [PATCH 07/13] nl80211: allow setting MFP flag for a meshif Date: Tue, 3 May 2011 16:57:13 -0700 Message-Id: <1304467039-7730-8-git-send-email-javier@cozybit.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1304467039-7730-1-git-send-email-javier@cozybit.com> References: <1304467039-7730-1-git-send-email-javier@cozybit.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 03 May 2011 23:57:45 +0000 (UTC) From: Thomas Pedersen Signed-off-by: Thomas Pedersen Signed-off-by: Javier Cardona --- net/wireless/nl80211.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 176d118..da1cdbe 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -2297,6 +2297,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;