From: John W. Linville Date: Thu, 22 Jul 2010 19:43:13 +0000 (-0400) Subject: minstrel: don't complain about feedback for unrequested rates X-Git-Tag: v2.6.36-rc1~571^2~64^2~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea65145da88e9fa04cb15c7a2a550ad1d3fde02a;p=platform%2Fkernel%2Flinux-exynos.git minstrel: don't complain about feedback for unrequested rates "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 --- 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; }