summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/530-minstrel_ht.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/530-minstrel_ht.patch b/package/mac80211/patches/530-minstrel_ht.patch
index c51d541fb..c1af99865 100644
--- 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;