| Submitter | John W. Linville |
|---|---|
| Date | July 22, 2010, 7:46 p.m. |
| Message ID | <1279827966-25085-1-git-send-email-linville@tuxdriver.com> |
| Download | mbox | patch |
| Permalink | /patch/59637/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
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; }
"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 | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)