minstrel: don't complain about feedback for unrequested rates
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 22 Jul 2010 19:43:13 +0000 (15:43 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Jul 2010 19:09:04 +0000 (15:09 -0400)
"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>
net/mac80211/rc80211_minstrel.c

index f65ce6dcc8e25d3aec3afe2ea9af85bd1b5932de..778c604d7939e39e3894e3c51af6b97360ca8e3b 100644 (file)
@@ -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;
 }