From: Felix Fietkau Date: Sat, 6 Oct 2018 17:35:04 +0000 (+0200) Subject: mac80211: minstrel: fix CCK rate group streams value X-Git-Tag: v4.20-rc1~14^2~89^2~9 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=80df9be67c44cb636bbc92caeddad8caf334c53c;p=uclinux-h8%2Flinux.git 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 Signed-off-by: Johannes Berg --- 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 = { \