Fixes a harmless underflow issue when CCK rates are actively being used

Signed-off-by: Felix Fietkau <n...@nbd.name>
---
 net/mac80211/rc80211_minstrel_ht.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 = {                           \
-- 
2.17.0

Reply via email to