mac80211: add RedPine RS9113 module support
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 375-mac80211-minstrel-fix-CCK-rate-group-streams-value.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Thu, 1 Mar 2018 13:27:54 +0100
3 Subject: [PATCH] mac80211: minstrel: fix CCK rate group streams value
4
5 Fixes a harmless underflow issue when CCK rates are actively being used
6
7 Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 ---
9
10 --- a/net/mac80211/rc80211_minstrel_ht.c
11 +++ b/net/mac80211/rc80211_minstrel_ht.c
12 @@ -131,7 +131,7 @@
13
14 #define CCK_GROUP(_s) \
15 [MINSTREL_CCK_GROUP] = { \
16 - .streams = 0, \
17 + .streams = 1, \
18 .flags = 0, \
19 .shift = _s, \
20 .duration = { \