diff options
author | Felix Fietkau | 2018-10-06 19:35:04 +0200 |
---|---|---|
committer | Johannes Berg | 2018-10-11 16:01:03 +0200 |
commit | 80df9be67c44cb636bbc92caeddad8caf334c53c (patch) | |
tree | 9da026c1642993400f847a91845ccd304443a0e0 /net/mac80211 | |
parent | 37439f2d6e43ae79e22be9be159f0af157468f82 (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>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/rc80211_minstrel_ht.c | 2 |
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 @@ #define CCK_GROUP(_s) \ [MINSTREL_CCK_GROUP] = { \ - .streams = 0, \ + .streams = 1, \ .flags = 0, \ .shift = _s, \ .duration = { \ |