projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e9e80
)
mac80211: fix a minstrel_ht off-by-one bug (patch by Christian Lamparter)
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 16 Apr 2010 21:55:37 +0000
(21:55 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 16 Apr 2010 21:55:37 +0000
(21:55 +0000)
SVN-Revision: 20950
package/mac80211/patches/530-minstrel_ht.patch
patch
|
blob
|
history
diff --git
a/package/mac80211/patches/530-minstrel_ht.patch
b/package/mac80211/patches/530-minstrel_ht.patch
index c51d541fbb9ed3379cbd7a70c2b895fd4cb5a627..c1af99865e8e29711db11ffd9cd6f61e9de38ab3 100644
(file)
--- a/
package/mac80211/patches/530-minstrel_ht.patch
+++ b/
package/mac80211/patches/530-minstrel_ht.patch
@@
-389,9
+389,9
@@
+ if (!mg->supported)
+ continue;
+
-+ if (++mg->index > MCS_GROUP_RATES) {
++ if (++mg->index >
=
MCS_GROUP_RATES) {
+ mg->index = 0;
-+ if (++mg->column > ARRAY_SIZE(sample_table))
++ if (++mg->column >
=
ARRAY_SIZE(sample_table))
+ mg->column = 0;
+ }
+ break;