From patchwork Thu Jul 22 19:46:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "John W. Linville" X-Patchwork-Id: 59637 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 5C8C51007D2 for ; Fri, 23 Jul 2010 06:00:25 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755921Ab0GVUAU (ORCPT ); Thu, 22 Jul 2010 16:00:20 -0400 Received: from charlotte.tuxdriver.com ([70.61.120.58]:48010 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754573Ab0GVUAT (ORCPT ); Thu, 22 Jul 2010 16:00:19 -0400 Received: from uucp by smtp.tuxdriver.com with local-rmail (Exim 4.63) (envelope-from ) id 1Oc1wH-0003Pp-4H; Thu, 22 Jul 2010 16:00:17 -0400 Received: from linville-t400.local (linville-t400.local [127.0.0.1]) by linville-t400.local (8.14.4/8.14.3) with ESMTP id o6MJk7Zq025119; Thu, 22 Jul 2010 15:46:07 -0400 Received: (from linville@localhost) by linville-t400.local (8.14.4/8.14.4/Submit) id o6MJk7l9025117; Thu, 22 Jul 2010 15:46:07 -0400 From: "John W. Linville" To: linux-wireless@vger.kernel.org Cc: Felix Fietkau , Sven Geggus , netdev@vger.kernel.org, "John W. Linville" Subject: [PATCH] minstrel: don't complain about feedback for unrequested rates Date: Thu, 22 Jul 2010 15:46:06 -0400 Message-Id: <1279827966-25085-1-git-send-email-linville@tuxdriver.com> X-Mailer: git-send-email 1.7.1.1 In-Reply-To: <4C4896D5.8010802@openwrt.org> References: <4C4896D5.8010802@openwrt.org> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org "It's not problematic if minstrel gets feedback for rates that it doesn't have in its list, it should just ignore it. - Felix" Signed-off-by: John W. Linville Cc: Felix Fietkau --- net/mac80211/rc80211_minstrel.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/net/mac80211/rc80211_minstrel.c b/net/mac80211/rc80211_minstrel.c index f65ce6d..778c604 100644 --- a/net/mac80211/rc80211_minstrel.c +++ b/net/mac80211/rc80211_minstrel.c @@ -67,7 +67,6 @@ rix_to_ndx(struct minstrel_sta_info *mi, int rix) for (i = rix; i >= 0; i--) if (mi->r[i].rix == rix) break; - WARN_ON(i < 0); return i; }