OSDN Git Service

mac80211: minstrel: fix CCK rate group streams value
authorFelix Fietkau <nbd@nbd.name>
Sat, 6 Oct 2018 17:35:04 +0000 (19:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Oct 2018 14:01:03 +0000 (16:01 +0200)
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>
net/mac80211/rc80211_minstrel_ht.c

index 118ffe7..6cc28ca 100644 (file)
 
 #define CCK_GROUP(_s)                                  \
        [MINSTREL_CCK_GROUP] = {                        \
-               .streams = 0,                           \
+               .streams = 1,                           \
                .flags = 0,                             \
                .shift = _s,                            \
                .duration = {                           \