projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00fc90c
)
minstrel: don't complain about feedback for unrequested rates
author
John W. Linville
<linville@tuxdriver.com>
Thu, 22 Jul 2010 19:43:13 +0000
(15:43 -0400)
committer
John 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
patch
|
blob
|
history
diff --git
a/net/mac80211/rc80211_minstrel.c
b/net/mac80211/rc80211_minstrel.c
index f65ce6dcc8e25d3aec3afe2ea9af85bd1b5932de..778c604d7939e39e3894e3c51af6b97360ca8e3b 100644
(file)
--- 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;
}