From patchwork Tue May 3 23:57:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Cardona X-Patchwork-Id: 752362 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 p43NvmTG031211 for ; Tue, 3 May 2011 23:58:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754268Ab1ECX5t (ORCPT ); Tue, 3 May 2011 19:57:49 -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 S1753938Ab1ECX5r (ORCPT ); Tue, 3 May 2011 19:57:47 -0400 Received: by mail-pw0-f46.google.com with SMTP id 15so278996pwi.19 for ; Tue, 03 May 2011 16:57:47 -0700 (PDT) Received: by 10.68.16.167 with SMTP id h7mr620130pbd.398.1304467067614; Tue, 03 May 2011 16:57:47 -0700 (PDT) Received: from localhost.localdomain ([99.8.184.170]) by mx.google.com with ESMTPS id z3sm344013pbk.55.2011.05.03.16.57.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 May 2011 16:57:46 -0700 (PDT) From: Javier Cardona To: "John W. Linville" Cc: Javier Cardona , Thomas Pedersen , devel@lists.open80211s.org, Johannes Berg , linux-wireless@vger.kernel.org, jlopex@gmail.com Subject: [PATCH 12/13] mac80211: allow setting supported rates on mesh peers Date: Tue, 3 May 2011 16:57:18 -0700 Message-Id: <1304467039-7730-13-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:58:17 +0000 (UTC) This is necessary for userspace managed stations. Signed-off-by: Javier Cardona --- net/wireless/nl80211.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index da1cdbe..afc07df 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -2293,8 +2293,6 @@ static int nl80211_set_station(struct sk_buff *skb, struct genl_info *info) err = -EINVAL; if (params.listen_interval >= 0) err = -EINVAL; - if (params.supported_rates) - err = -EINVAL; if (params.sta_flags_mask & ~(BIT(NL80211_STA_FLAG_AUTHENTICATED) | BIT(NL80211_STA_FLAG_MFP) |