aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-10-06 13:35:04 -0400
committerJohannes Berg <johannes.berg@intel.com>2018-10-11 10:01:03 -0400
commit80df9be67c44cb636bbc92caeddad8caf334c53c (patch)
tree9da026c1642993400f847a91845ccd304443a0e0
parent37439f2d6e43ae79e22be9be159f0af157468f82 (diff)
mac80211: minstrel: fix CCK rate group streams value
Fixes a harmless underflow issue when CCK rates are actively being used Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--net/mac80211/rc80211_minstrel_ht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c
index 118ffe7f88c4..6cc28ca5d4a6 100644
--- a/net/mac80211/rc80211_minstrel_ht.c
+++ b/net/mac80211/rc80211_minstrel_ht.c
@@ -131,7 +131,7 @@
131 131
132#define CCK_GROUP(_s) \ 132#define CCK_GROUP(_s) \
133 [MINSTREL_CCK_GROUP] = { \ 133 [MINSTREL_CCK_GROUP] = { \
134 .streams = 0, \ 134 .streams = 1, \
135 .flags = 0, \ 135 .flags = 0, \
136 .shift = _s, \ 136 .shift = _s, \
137 .duration = { \ 137 .duration = { \