diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-22 15:43:13 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-26 15:09:04 -0400 |
commit | ea65145da88e9fa04cb15c7a2a550ad1d3fde02a (patch) | |
tree | 41f105d7e8e1d5b997fe706cc1355ea053b41b84 /net/mac80211/rc80211_minstrel.c | |
parent | 00fc90c886220efe8b634d3f2a04713fcebbe2c0 (diff) | |
download | linux-ea65145da88e9fa04cb15c7a2a550ad1d3fde02a.tar.bz2 |
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 <linville@tuxdriver.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.c')
-rw-r--r-- | 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 f65ce6dcc8e2..778c604d7939 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; } |